RenderWindow.ChannelGPU

References

Finalizer

~ChannelGPU

#
~ChannelGPU()

Properties

DisplayTechnology

#Since v7.0
Return the type of API used for this channel's texture handle.
public DisplayTechnology DisplayTechnology { get; }

Methods

Clone

#Since v7.0
Return a clone of the channel.
public RenderWindow.ChannelGPU Clone()

Close

#Since v7.0
Close the channel.
public void Close()

CopyTo

#Since v7.0
Copy the channel to a 'CPU' channel.
public void CopyTo(
Channel
channel
The channel to copy to.
)

Dispose

#Since v7.0
Dispose of the channel.
public void Dispose()

Height

#Since v7.0
Return the channel height.
public int Height()

Id

#Since v7.0
Return the channel id.
public Guid Id()

PixelSize

#Since v7.0
Return the size of one pixel's data in the channel.
[CLSCompliant(false)] public uint PixelSize()

TextureHandle

#Since v7.0 Obsolete v8.0
Return the channel's texture handle.
[CLSCompliant(false)] public uint TextureHandle()
obsoleteThis method has been deprecated. Please use TextureHandleOpenGL or TextureHandleMetal instead.

TextureHandleMetal

#Since v8.0
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()

TextureHandleOpenGL

#Since v8.0
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.
[CLSCompliant(false)] public uint TextureHandleOpenGL()

Width

#Since v7.0
Return the channel width.
public int Width()