RenderWindow.ChannelGPU
ReferencesFinalizer
~ChannelGPU
#~ChannelGPU()
Properties
Return the type of API used for this channel's texture handle.
Methods
public void CopyTo(Channel channel)
Copy the channel to a 'CPU' channel.
Parameters:
| channel (RenderWindow.Channel) | The channel to copy to. |
Return the size of one pixel's data in the channel.
obsoleteThis method has been deprecated. Please use TextureHandleOpenGL or TextureHandleMetal instead.
Return the channel's texture handle.
public nint TextureHandleMetal()
Return the channel's Metal texture handle (id<MTLTexture>) as an IntPtr. If there isn't one, IntPtr.Zero will be returned. The ChannelGPU.DisplayTechnology property will indicate which type of texture is stored in the channel. The IntPtr can be turned back into an Objective-C id<MTLTexture> using id<MTLTexture> texture = CFBridgingRelease(ptr);
Return the channel's OpenGL texture handle. If there isn't one, a value of 0 will be returned. The ChannelGPU.DisplayTechnology property will indicate which type of texture is stored in the channel.