3ds Max C++ API Reference
ParticleChannelMask.h

Functions

PFExport ParticleChannelMask ()
 constructors/destructor/assigning More...
 
PFExport ParticleChannelMask (const ParticleChannelMask &)
 constructors/destructor/assigning More...
 
PFExport ParticleChannelMask (DWORD readMask, DWORD writeMask)
 constructors/destructor/assigning More...
 
PFExport ParticleChannelMaskoperator= (const ParticleChannelMask &)
 constructors/destructor/assigning More...
 
PFExport ~ParticleChannelMask ()
 constructors/destructor/assigning More...
 
PFExport int operator== (const ParticleChannelMask &) const
 Test for equality. More...
 
PFExport int operator!= (const ParticleChannelMask &) const
 Test for equality. More...
 
PFExport void SetReadChannels (DWORD channelsFlag)
 set standard read/write and custom channels methods. More...
 
PFExport void SetWriteChannels (DWORD channelsFlag)
 See PFExport void SetReadChannels() More...
 
PFExport bool SetChannels (int numChannels, Interface_ID *channels)
 See PFExport void SetReadChannels() More...
 
PFExport void AddReadChannels (DWORD channelsFlag)
 See PFExport void SetReadChannels() More...
 
PFExport void RemoveReadChannels (DWORD channelsFlag)
 See PFExport void SetReadChannels() More...
 
PFExport void AddWriteChannels (DWORD channelsFlag)
 See PFExport void SetReadChannels() More...
 
PFExport void RemoveWriteChannels (DWORD channelsFlag)
 See PFExport void SetReadChannels() More...
 
PFExport bool AddChannel (Interface_ID &channel)
 See PFExport void SetReadChannels() More...
 
PFExport bool RemoveChannel (Interface_ID &channel)
 See PFExport void SetReadChannels() More...
 
PFExport const int GetNumChannels () const
 get channels methods More...
 
PFExport const Interface_ID GetChannel (int i) const
 
PFExport const bool HasChannel (Interface_ID &channel) const
 has channels methods. More...
 
PFExport const bool HasReadChannels (DWORD channelsFlag) const
 returns true if all readChannels are present More...
 
PFExport const bool HasWriteChannels (DWORD channelsFlag) const
 returns true if all writeChannels are present More...
 
static PFExport int NumStandardParticleChannels ()
 maximum number of available standard particle channels (constant) More...
 
static PFExport const ParticleChannelMaskNull ()
 empty mask More...
 

Variables

DWORD m_readFlag
 
DWORD m_writeFlag
 
bool m_numSRChannelsValid
 
bool m_numSWChannelsValid
 
int m_numStandardReadChannels
 
int m_numStandardWriteChannels
 
int m_numCustomChannels
 
Interface_IDm_customChannels
 
static const DWORD kChannelsCast
 
static const int kNumStandardParticleChannels
 
static const ParticleChannelMask kNull
 

Detailed Description

Function Documentation

◆ ParticleChannelMask() [1/3]

constructors/destructor/assigning

◆ ParticleChannelMask() [2/3]

constructors/destructor/assigning

◆ ParticleChannelMask() [3/3]

PFExport ParticleChannelMask ( DWORD  readMask,
DWORD  writeMask 
)

constructors/destructor/assigning

◆ operator=()

constructors/destructor/assigning

◆ ~ParticleChannelMask()

constructors/destructor/assigning

◆ operator==()

PFExport int operator== ( const ParticleChannelMask ) const

Test for equality.

◆ operator!=()

PFExport int operator!= ( const ParticleChannelMask ) const

Test for equality.

◆ SetReadChannels()

PFExport void SetReadChannels ( DWORD  channelsFlag)

set standard read/write and custom channels methods.

If a custom particle channel is indeed a standard particle channel then it's stored as a flag

◆ SetWriteChannels()

PFExport void SetWriteChannels ( DWORD  channelsFlag)

See PFExport void SetReadChannels()

◆ SetChannels()

PFExport bool SetChannels ( int  numChannels,
Interface_ID channels 
)

See PFExport void SetReadChannels()

◆ AddReadChannels()

PFExport void AddReadChannels ( DWORD  channelsFlag)

See PFExport void SetReadChannels()

◆ RemoveReadChannels()

PFExport void RemoveReadChannels ( DWORD  channelsFlag)

See PFExport void SetReadChannels()

◆ AddWriteChannels()

PFExport void AddWriteChannels ( DWORD  channelsFlag)

See PFExport void SetReadChannels()

◆ RemoveWriteChannels()

PFExport void RemoveWriteChannels ( DWORD  channelsFlag)

See PFExport void SetReadChannels()

◆ AddChannel()

PFExport bool AddChannel ( Interface_ID channel)

See PFExport void SetReadChannels()

◆ RemoveChannel()

PFExport bool RemoveChannel ( Interface_ID channel)

See PFExport void SetReadChannels()

◆ GetNumChannels()

PFExport const int GetNumChannels ( ) const

get channels methods

◆ GetChannel()

PFExport const Interface_ID GetChannel ( int  i) const

◆ HasChannel()

PFExport const bool HasChannel ( Interface_ID channel) const

has channels methods.

Returns true if the channel is present

◆ HasReadChannels()

PFExport const bool HasReadChannels ( DWORD  channelsFlag) const

returns true if all readChannels are present

◆ HasWriteChannels()

PFExport const bool HasWriteChannels ( DWORD  channelsFlag) const

returns true if all writeChannels are present

◆ NumStandardParticleChannels()

PFExport static int NumStandardParticleChannels ( )
static

maximum number of available standard particle channels (constant)

◆ Null()

PFExport static const ParticleChannelMask & Null ( )
static

empty mask

Variable Documentation

◆ m_readFlag

DWORD m_readFlag
protected

◆ m_writeFlag

DWORD m_writeFlag
protected

◆ m_numSRChannelsValid

bool m_numSRChannelsValid
mutableprotected

◆ m_numSWChannelsValid

bool m_numSWChannelsValid
protected

◆ m_numStandardReadChannels

int m_numStandardReadChannels
mutableprotected

◆ m_numStandardWriteChannels

int m_numStandardWriteChannels
protected

◆ m_numCustomChannels

int m_numCustomChannels
protected

◆ m_customChannels

Interface_ID* m_customChannels
protected

◆ kChannelsCast

const DWORD kChannelsCast
staticprotected

◆ kNumStandardParticleChannels

const int kNumStandardParticleChannels
staticprotected

◆ kNull

const ParticleChannelMask kNull
staticprotected