CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdTrVisMaterialChannelComponent Struct Reference

#include <TrVisMaterialDef.h>

Public Types

enum  WrapType { kWrapRepeat = 0 , kWrapClamp , kWrapCrop , kWrapMirror }
 
enum  TextureFlags { kInvertTexture = (1 << 0) , kInvertBrightness = (1 << 1) }
 

Public Member Functions

void setTextureInverted (bool bSet)
 
bool isTextureInverted () const
 
void setTextureBrightnessInverted (bool bSet)
 
bool isTextureBrightnessInverted () const
 
void setDefault (float channelColor=0.0f, float blendFactor=0.0f, float channelValue=0.0f)
 
bool isEnabled () const
 

Public Attributes

OdTrVisMaterialColor m_channelColor
 
float m_blendFactor
 
float m_opacityLevel
 
float m_channelValue
 
float m_textureBlend
 
OdTrVisTextureId m_textureId
 
float m_texBrightness
 
OdUInt32 m_texFlags
 
enum OdTrVisMaterialChannelComponent::WrapType m_uWrap
 
enum OdTrVisMaterialChannelComponent::WrapType m_vWrap
 

Detailed Description

<group ExRender_Windows_Classes>

Definition at line 36 of file TrVisMaterialDef.h.

Member Enumeration Documentation

◆ TextureFlags

Enumerator
kInvertTexture 
kInvertBrightness 

Definition at line 67 of file TrVisMaterialDef.h.

◆ WrapType

Enumerator
kWrapRepeat 
kWrapClamp 
kWrapCrop 
kWrapMirror 

Definition at line 59 of file TrVisMaterialDef.h.

Member Function Documentation

◆ isEnabled()

bool OdTrVisMaterialChannelComponent::isEnabled ( ) const
inline

Definition at line 91 of file TrVisMaterialDef.h.

◆ isTextureBrightnessInverted()

bool OdTrVisMaterialChannelComponent::isTextureBrightnessInverted ( ) const
inline

Definition at line 75 of file TrVisMaterialDef.h.

◆ isTextureInverted()

bool OdTrVisMaterialChannelComponent::isTextureInverted ( ) const
inline

Definition at line 73 of file TrVisMaterialDef.h.

◆ setDefault()

void OdTrVisMaterialChannelComponent::setDefault ( float channelColor = 0.0f,
float blendFactor = 0.0f,
float channelValue = 0.0f )
inline

Definition at line 78 of file TrVisMaterialDef.h.

◆ setTextureBrightnessInverted()

void OdTrVisMaterialChannelComponent::setTextureBrightnessInverted ( bool bSet)
inline

Definition at line 74 of file TrVisMaterialDef.h.

◆ setTextureInverted()

void OdTrVisMaterialChannelComponent::setTextureInverted ( bool bSet)
inline

Definition at line 72 of file TrVisMaterialDef.h.

Member Data Documentation

◆ m_blendFactor

float OdTrVisMaterialChannelComponent::m_blendFactor

Definition at line 41 of file TrVisMaterialDef.h.

◆ m_channelColor

OdTrVisMaterialColor OdTrVisMaterialChannelComponent::m_channelColor

Definition at line 39 of file TrVisMaterialDef.h.

◆ m_channelValue

float OdTrVisMaterialChannelComponent::m_channelValue

Definition at line 49 of file TrVisMaterialDef.h.

◆ m_opacityLevel

float OdTrVisMaterialChannelComponent::m_opacityLevel

Definition at line 43 of file TrVisMaterialDef.h.

◆ m_texBrightness

float OdTrVisMaterialChannelComponent::m_texBrightness

Definition at line 55 of file TrVisMaterialDef.h.

◆ m_texFlags

OdUInt32 OdTrVisMaterialChannelComponent::m_texFlags

Definition at line 57 of file TrVisMaterialDef.h.

◆ m_textureBlend

float OdTrVisMaterialChannelComponent::m_textureBlend

Definition at line 51 of file TrVisMaterialDef.h.

◆ m_textureId

OdTrVisTextureId OdTrVisMaterialChannelComponent::m_textureId

Definition at line 53 of file TrVisMaterialDef.h.

◆ m_uWrap

enum OdTrVisMaterialChannelComponent::WrapType OdTrVisMaterialChannelComponent::m_uWrap

◆ m_vWrap

enum OdTrVisMaterialChannelComponent::WrapType OdTrVisMaterialChannelComponent::m_vWrap

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