Skip to content

RenderWindow.ChannelGPU

Public Class

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

Return the type of API used for this channel’s texture handle.


Methods

Name

Description


Public Method

Return a clone of the channel.


Public Method

Close the channel.


Public Method

Copy the channel to a ‘CPU’ channel.


Public Method

Dispose of the channel.


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

(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

Return the channel height.


Public Method

Return the channel id.


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

Return the size of one pixel’s data in the channel.


Public Method

Obsolete.

Return the channel’s texture handle.


Public Method

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

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

Return the channel width.