A channel to read from. More...

#include <PIGeneral.h>

Public Member Functions

 ReadChannelDesc ()

Data Fields

int32 minVersion
 The minimum version needed to interpret this record.
int32 maxVersion
 The maximum version allowable to interpret this record.
struct ReadChannelDescnext
 Next descriptor in the list.
PIChannelPort port
 Port to use for reading.
VRect bounds
 Bounds of the channel data.
int32 depth
 Depth of the data; horizontal and vertical resolution.
VPoint tileSize
 Size of the tiles, set by the host.
VPoint tileOrigin
 Origin for the tiles, set by host.
Boolean target
 Indicates if this a target channel.
Boolean shown
 Indicates if this channel is visible.
int16 channelType
 Channel type.
void * contextInfo
 Pointer to additional information dependent on context.
const char * name
 Name of the channel as a C string.
PIChannelPort writePort
 Port to use for writing if writing is allowed.
unsigned32 alphaID
 Persistent ID for the channel.
const uint16 * unicodeName
 Name of the channel as a Unicode string.
Boolean isEnabled
 Indicates if the read channel is enabled.
VRect limitBounds
 Bounds trimmed to transparency.

Detailed Description

A channel to read from.


Constructor & Destructor Documentation


Field Documentation

The minimum version needed to interpret this record.

The maximum version allowable to interpret this record.

Next descriptor in the list.

Port to use for reading.

Provided by host.

Bounds of the channel data.

Depth of the data; horizontal and vertical resolution.

Size of the tiles, set by the host.

The plug-in should use this size if possible to optimize and match the host memory scheme.

Origin for the tiles, set by host.

Indicates if this a target channel.

TRUE if so.

Indicates if this channel is visible.

TRUE if so.

Channel type.

See ChannelTypes.

Pointer to additional information dependent on context.

const char* ReadChannelDesc::name

Name of the channel as a C string.

Port to use for writing if writing is allowed.

This generally does not point back to the same collection of pixels.

Persistent ID for the channel.

Only set for alpha channels.

Name of the channel as a Unicode string.

(platform endianess)

Indicates if the read channel is enabled.

Used for layer masks and vector masks that can be disabled.

Bounds trimmed to transparency.


The documentation for this struct was generated from the following file: