Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

IRmStateManager Class Reference

State manager. More...

#include <RmStateManager.h>

List of all members.

Public Member Functions

 IRmStateManager ()
 Constructor.

virtual ~IRmStateManager ()
 Destructor.

virtual int GetSamplerStateCount (const RM_TCHAR *pStrAPI)=0
 Get number of sampler states.

virtual int AddSamplerStateToken (const RM_TCHAR *pStrAPI, RM_TCHAR *token, unsigned long value, unsigned long type)=0
 Add sa,pler state token.

virtual int GetSamplerStateValueByIndex (const RM_TCHAR *pStrAPI, int nIndex)=0
 Get sampler state by index.

virtual RM_TCHAR * GetSamplerStateNameByIndex (const RM_TCHAR *pStrAPI, int nIndex)=0
 Get sampler state name by index.

virtual RM_TCHAR * GetSamplerStateName (const RM_TCHAR *pStrAPI, unsigned long type)=0
 Get sampler state name.

virtual int GetSamplerStateArgType (const RM_TCHAR *pStrAPI, unsigned long rs)=0
 Get sampler state argument type.

virtual RM_TCHAR * GetSamplerStateArgName (const RM_TCHAR *pStrAPI, unsigned long type, unsigned long arg)=0
 Get sampler state argument name.

virtual int GetSamplerStateArgCount (const RM_TCHAR *pStrAPI, unsigned long type)=0
 Get sampler states argument count.

virtual RM_TCHAR * GetSamplerStateArgNameByIndex (const RM_TCHAR *pStrAPI, unsigned long type, unsigned long argIndex)=0
 Get sampler state argument name by index.

virtual unsigned long GetSamplerStateArgValueByIndex (const RM_TCHAR *pStrAPI, unsigned long type, unsigned long argIndex)=0
 Get sampler state argument value by index.

virtual void OutputSamplerStateBindings (const RM_TCHAR *pStrAPI, RM_TCHAR *filename)=0
 Output sampler state bindings.

virtual void ReadInSamplerStateBindings (const RM_TCHAR *pStrAPI, RM_TCHAR *filename)=0
 Read sampler state bindings.

virtual int GetTextureStateCount (const RM_TCHAR *pStrAPI)=0
 Get number of texture states.

virtual int AddTextureStateToken (const RM_TCHAR *pStrAPI, RM_TCHAR *token, unsigned long value, unsigned long type)=0
 Add texture state token.

virtual int GetTextureStateValueByIndex (const RM_TCHAR *pStrAPI, int nIndex)=0
 Get texture state value by index.

virtual RM_TCHAR * GetTextureStateNameByIndex (const RM_TCHAR *pStrAPI, int nIndex)=0
 Get texture state name by index.

virtual RM_TCHAR * GetTextureStateName (const RM_TCHAR *pStrAPI, unsigned long type)=0
 Get texture state name.

virtual int GetTextureStateArgType (const RM_TCHAR *pStrAPI, unsigned long rs)=0
 Get texture state argument typex.

virtual RM_TCHAR * GetTextureStateArgName (const RM_TCHAR *pStrAPI, unsigned long type, unsigned long arg)=0
 Get texture state argument name.

virtual int GetTextureStateArgCount (const RM_TCHAR *pStrAPI, unsigned long type)=0
 Get tetxure state argument count.

virtual RM_TCHAR * GetTextureStateArgNameByIndex (const RM_TCHAR *pStrAPI, unsigned long type, unsigned long argIndex)=0
 Get texture state arg name by index.

virtual unsigned long GetTextureStateArgValueByIndex (const RM_TCHAR *pStrAPI, unsigned long type, unsigned long argIndex)=0
 Get texture state argument value by index.

virtual void OutputTextureStateBindings (const RM_TCHAR *pStrAPI, RM_TCHAR *filename)=0
 Output texture state bindings.

virtual void ReadInTextureStateBindings (const RM_TCHAR *pStrAPI, RM_TCHAR *filename)=0
 Read texture state bindings.

virtual int GetRenderStateCount (const RM_TCHAR *pStrAPI)=0
 Get render state count.

virtual int AddRenderStateToken (const RM_TCHAR *pStrAPI, RM_TCHAR *token, unsigned long value, unsigned long type)=0
 Add render state token.

virtual int GetRenderStateValueByIndex (const RM_TCHAR *pStrAPI, int nIndex)=0
 Get render state value by index.

virtual RM_TCHAR * GetRenderStateNameByIndex (const RM_TCHAR *pStrAPI, int nIndex)=0
 Get render state name by index.

virtual RM_TCHAR * GetRenderStateName (const RM_TCHAR *pStrAPI, unsigned long type)=0
 Get rdner state name.

virtual int GetRenderStateArgType (const RM_TCHAR *pStrAPI, unsigned long rs)=0
 Get render state argument type.

virtual RM_TCHAR * GetRenderStateArgName (const RM_TCHAR *pStrAPI, unsigned long type, unsigned long arg)=0
 Get render state argument name.

virtual int GetRenderStateArgCount (const RM_TCHAR *pStrAPI, unsigned long type)=0
 Get render state argument count.

virtual RM_TCHAR * GetRenderStateArgNameByIndex (const RM_TCHAR *pStrAPI, unsigned long type, unsigned long argIndex)=0
 Get render state argument name by index.

virtual unsigned long GetRenderStateArgValueByIndex (const RM_TCHAR *pStrAPI, unsigned long type, unsigned long argIndex)=0
 Get render state argument value by index.

virtual void OutputRenderStateBindings (const RM_TCHAR *pStrAPI, RM_TCHAR *filename)=0
 Output render state bindings.

virtual void ReadInRenderStateBindings (const RM_TCHAR *pStrAPI, RM_TCHAR *filename)=0
 Read render state bindings.


Detailed Description

State manager.

Manager for RenderMonkey's state ( texture, render, sampler etc )


Constructor & Destructor Documentation

IRmStateManager::IRmStateManager  ) 
 

Constructor.

Constructor

virtual IRmStateManager::~IRmStateManager  )  [virtual]
 

Destructor.

Destructor


Member Function Documentation

virtual int IRmStateManager::AddRenderStateToken const RM_TCHAR *  pStrAPI,
RM_TCHAR *  token,
unsigned long  value,
unsigned long  type
[pure virtual]
 

Add render state token.

Add render state token

Parameters:
pStrAPI API string
value Value to add
type Type
Returns:
None

virtual int IRmStateManager::AddSamplerStateToken const RM_TCHAR *  pStrAPI,
RM_TCHAR *  token,
unsigned long  value,
unsigned long  type
[pure virtual]
 

Add sa,pler state token.

Add sampler state token

Parameters:
pStrAPI API to add sampler state for
token Token to add
value State value
type Type string
Returns:
None

virtual int IRmStateManager::AddTextureStateToken const RM_TCHAR *  pStrAPI,
RM_TCHAR *  token,
unsigned long  value,
unsigned long  type
[pure virtual]
 

Add texture state token.

Add texture state token

Parameters:
pStrAPI API string
value Value to set
type Type
Returns:
None

virtual int IRmStateManager::GetRenderStateArgCount const RM_TCHAR *  pStrAPI,
unsigned long  type
[pure virtual]
 

Get render state argument count.

Get render state argument count

Parameters:
pStrAPI API string
type 
Returns:
None

virtual RM_TCHAR* IRmStateManager::GetRenderStateArgName const RM_TCHAR *  pStrAPI,
unsigned long  type,
unsigned long  arg
[pure virtual]
 

Get render state argument name.

Get render state arhument name

Parameters:
pStrAPI API string
type Type
arg Argument
Returns:
Argument name

virtual RM_TCHAR* IRmStateManager::GetRenderStateArgNameByIndex const RM_TCHAR *  pStrAPI,
unsigned long  type,
unsigned long  argIndex
[pure virtual]
 

Get render state argument name by index.

Get render state argument name by index

Parameters:
pStrAPI API string
type Type
argIndex Argument index
Returns:
Name of argument

virtual int IRmStateManager::GetRenderStateArgType const RM_TCHAR *  pStrAPI,
unsigned long  rs
[pure virtual]
 

Get render state argument type.

Get render state argument type

Parameters:
pStrAPI API string
rs State
Returns:
Argument type

virtual unsigned long IRmStateManager::GetRenderStateArgValueByIndex const RM_TCHAR *  pStrAPI,
unsigned long  type,
unsigned long  argIndex
[pure virtual]
 

Get render state argument value by index.

Get render state argument value by index

Parameters:
pStrAPI API string
type Type
argIndex Argument index
Returns:
State value

virtual int IRmStateManager::GetRenderStateCount const RM_TCHAR *  pStrAPI  )  [pure virtual]
 

Get render state count.

Get number of render states

Parameters:
pStrAPI API string
Returns:
Number of render states

virtual RM_TCHAR* IRmStateManager::GetRenderStateName const RM_TCHAR *  pStrAPI,
unsigned long  type
[pure virtual]
 

Get rdner state name.

Get rdner state name

Parameters:
pStrAPI API string
type Type
Returns:
Name of state

virtual RM_TCHAR* IRmStateManager::GetRenderStateNameByIndex const RM_TCHAR *  pStrAPI,
int  nIndex
[pure virtual]
 

Get render state name by index.

Get render state name by index

Parameters:
pStrAPI API string
nIndex Index to states
Returns:
Name of state

virtual int IRmStateManager::GetRenderStateValueByIndex const RM_TCHAR *  pStrAPI,
int  nIndex
[pure virtual]
 

Get render state value by index.

Get render state value by index

Parameters:
pStrAPI API string
nIndex Index to states
Returns:
State value

virtual int IRmStateManager::GetSamplerStateArgCount const RM_TCHAR *  pStrAPI,
unsigned long  type
[pure virtual]
 

Get sampler states argument count.

Return sampler states argument count

Parameters:
pStrAPI API string
type Type
Returns:
Number of argument for sampler state

virtual RM_TCHAR* IRmStateManager::GetSamplerStateArgName const RM_TCHAR *  pStrAPI,
unsigned long  type,
unsigned long  arg
[pure virtual]
 

Get sampler state argument name.

Return sampler state argument name

Parameters:
pStrAPI API string
type Type
arg Argument
Returns:
None

virtual RM_TCHAR* IRmStateManager::GetSamplerStateArgNameByIndex const RM_TCHAR *  pStrAPI,
unsigned long  type,
unsigned long  argIndex
[pure virtual]
 

Get sampler state argument name by index.

Return sampler state argument name by index

Parameters:
pStrAPI API string
type Type
argIndex Argument index
Returns:
None

virtual int IRmStateManager::GetSamplerStateArgType const RM_TCHAR *  pStrAPI,
unsigned long  rs
[pure virtual]
 

Get sampler state argument type.

Return sampler state argument type

Parameters:
pStrAPI API string
rs State
Returns:
Type integer

virtual unsigned long IRmStateManager::GetSamplerStateArgValueByIndex const RM_TCHAR *  pStrAPI,
unsigned long  type,
unsigned long  argIndex
[pure virtual]
 

Get sampler state argument value by index.

Return sampler state argument value by index

Parameters:
pStrAPI API string
type Type
argIndex Argument value
Returns:
None

virtual int IRmStateManager::GetSamplerStateCount const RM_TCHAR *  pStrAPI  )  [pure virtual]
 

Get number of sampler states.

Return number of sampler states

Returns:
Number of sampler states

virtual RM_TCHAR* IRmStateManager::GetSamplerStateName const RM_TCHAR *  pStrAPI,
unsigned long  type
[pure virtual]
 

Get sampler state name.

Return sampler state name

Parameters:
pStrAPI API string
type Type of state
Returns:
Name of state

virtual RM_TCHAR* IRmStateManager::GetSamplerStateNameByIndex const RM_TCHAR *  pStrAPI,
int  nIndex
[pure virtual]
 

Get sampler state name by index.

Return sampler state name by index

Parameters:
pStrAPI API string
nIndex Index to states
Returns:
Name of state

virtual int IRmStateManager::GetSamplerStateValueByIndex const RM_TCHAR *  pStrAPI,
int  nIndex
[pure virtual]
 

Get sampler state by index.

Return sampler state by index

Parameters:
pStrAPI API string
nIndex Index to states
Returns:
None

virtual int IRmStateManager::GetTextureStateArgCount const RM_TCHAR *  pStrAPI,
unsigned long  type
[pure virtual]
 

Get tetxure state argument count.

Get tetxure state argument count

Parameters:
pStrAPI API string
type Type
Returns:
Argument count

virtual RM_TCHAR* IRmStateManager::GetTextureStateArgName const RM_TCHAR *  pStrAPI,
unsigned long  type,
unsigned long  arg
[pure virtual]
 

Get texture state argument name.

Get texture state argument name

Parameters:
pStrAPI API string
type Type
arg Argument
Returns:
Name of argument

virtual RM_TCHAR* IRmStateManager::GetTextureStateArgNameByIndex const RM_TCHAR *  pStrAPI,
unsigned long  type,
unsigned long  argIndex
[pure virtual]
 

Get texture state arg name by index.

Get texture state arg name by index

Parameters:
pStrAPI API string
type Type
argIndex Argument index
Returns:
Name of texture state argument

virtual int IRmStateManager::GetTextureStateArgType const RM_TCHAR *  pStrAPI,
unsigned long  rs
[pure virtual]
 

Get texture state argument typex.

Get texture state argument typex

Parameters:
pStrAPI API string
rs State
Returns:
State index

virtual unsigned long IRmStateManager::GetTextureStateArgValueByIndex const RM_TCHAR *  pStrAPI,
unsigned long  type,
unsigned long  argIndex
[pure virtual]
 

Get texture state argument value by index.

Get texture state argument value by index

Parameters:
pStrAPI API string
type Type
argIndex Argument index
Returns:
Argument value

virtual int IRmStateManager::GetTextureStateCount const RM_TCHAR *  pStrAPI  )  [pure virtual]
 

Get number of texture states.

Get number of texture states

Parameters:
pStrAPI API string
Returns:
Number of texture states

virtual RM_TCHAR* IRmStateManager::GetTextureStateName const RM_TCHAR *  pStrAPI,
unsigned long  type
[pure virtual]
 

Get texture state name.

Get texture state name

Parameters:
pStrAPI API string
type State type
Returns:
Name of texture state

virtual RM_TCHAR* IRmStateManager::GetTextureStateNameByIndex const RM_TCHAR *  pStrAPI,
int  nIndex
[pure virtual]
 

Get texture state name by index.

Get texture state name by index

Parameters:
pStrAPI API string
nIndex Index to texture state
Returns:
Name of texture state

virtual int IRmStateManager::GetTextureStateValueByIndex const RM_TCHAR *  pStrAPI,
int  nIndex
[pure virtual]
 

Get texture state value by index.

Get texture state value by index

Parameters:
pStrAPI API string
nIndex Index to texture state
Returns:
Value fof texture state

virtual void IRmStateManager::OutputRenderStateBindings const RM_TCHAR *  pStrAPI,
RM_TCHAR *  filename
[pure virtual]
 

Output render state bindings.

Output render state bindings

Parameters:
pStrAPI API string
filename Filename
Returns:
None

virtual void IRmStateManager::OutputSamplerStateBindings const RM_TCHAR *  pStrAPI,
RM_TCHAR *  filename
[pure virtual]
 

Output sampler state bindings.

Output sampler state bindings

Parameters:
pStrAPI API string
fileName Filename to output to
Returns:
None

virtual void IRmStateManager::OutputTextureStateBindings const RM_TCHAR *  pStrAPI,
RM_TCHAR *  filename
[pure virtual]
 

Output texture state bindings.

Output texture state bindings

Parameters:
pStrAPI API string
filename File name
Returns:
None

virtual void IRmStateManager::ReadInRenderStateBindings const RM_TCHAR *  pStrAPI,
RM_TCHAR *  filename
[pure virtual]
 

Read render state bindings.

Read render state bindings

Parameters:
pStrAPI API string
filename Filename
Returns:
None

virtual void IRmStateManager::ReadInSamplerStateBindings const RM_TCHAR *  pStrAPI,
RM_TCHAR *  filename
[pure virtual]
 

Read sampler state bindings.

Read sampler state bindings

Parameters:
pStrAPI API string
Returns:
None

virtual void IRmStateManager::ReadInTextureStateBindings const RM_TCHAR *  pStrAPI,
RM_TCHAR *  filename
[pure virtual]
 

Read texture state bindings.

Read texture state bindings

Parameters:
pStrAPI API string
filename Filename
Returns:
None


The documentation for this class was generated from the following file:
Generated on Fri Feb 25 16:08:50 2005 for RenderMonkey SDK by doxygen 1.3.6