RenderWindow.Channel.PixelSize Method

RenderWindowChannelPixelSize Method

Returns the size of the data in one pixel in the channel. For RDK standard channels, this value is always sizeof(float). For the special chanRGBA collective channel, this value is 4 * sizeof(float).

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int PixelSize()
Public Function PixelSize As Integer

Return Value

Type: Int32
The size of a pixel.
Version Information

Rhino for Windows

Supported in: 6.14
See Also