RenderWindow.ChannelGPU
Inheritance Hierarchy
System.Object
Rhino.Render.RenderWindow.ChannelGPU
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public class ChannelGPU : IDisposable
The RenderWindow.ChannelGPU type exposes the following members.
Properties
Name
Description
Public Property
DisplayTechnology
Return the type of API used for this channel’s texture handle.
Methods
Name
Description
Public Method
Clone
Return a clone of the channel.
Public Method
Close
Close the channel.
Public Method
CopyTo
Copy the channel to a ‘CPU’ channel.
Public Method
Dispose
Dispose of the channel.
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
(Overrides Object.Finalize..)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public Method
Height
Return the channel height.
Public Method
Id
Return the channel id.
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
PixelSize
Return the size of one pixel’s data in the channel.
Public Method
TextureHandle
Obsolete.
Return the channel’s texture handle.
Public Method
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);
Public Method
TextureHandleOpenGL
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.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public Method
Width
Return the channel width.