RenderWindow.ChannelGPU
ReferencesFinalizer
~ChannelGPU
#~ChannelGPU()
Properties
Return the type of API used for this channel's texture handle.
Methods
Copy the channel to a 'CPU' channel.
public void CopyTo()
Channel
channel
The channel to copy to.
Return the size of one pixel's data in the channel.
Return the channel's texture handle.
obsoleteThis method has been deprecated. Please use TextureHandleOpenGL or TextureHandleMetal instead.
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);
public nint TextureHandleMetal()
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.