TextureLayer Struct Reference

#include <c4d_variationshaderdata.h>

Public Member Functions

 TextureLayer ()
 
 TextureLayer (BaseShader *shader, Bool active, Float propability)
 

Public Attributes

BaseShader_shader
 
Bool _active
 
Float _probability
 

Detailed Description

Data structure for texture layers of variation shader.

Constructor & Destructor Documentation

◆ TextureLayer() [1/2]

Default constructor.

◆ TextureLayer() [2/2]

TextureLayer ( BaseShader shader,
Bool  active,
Float  propability 
)

Constructor.

Parameters
[in]shaderPointer to the shader or nullptr.
[in]activeEnabled or disabled state.
[in]propabilityProbability in relation to all active layers.

Member Data Documentation

◆ _shader

BaseShader* _shader

Pointer to the shader, or nullptr.

◆ _active

Bool _active

Enabled or disabled state.

◆ _probability

Float _probability

Probability in relation to all active layers.