Nebula
Loading...
Searching...
No Matches
MaterialTemplates::MaterialTemplateValue Struct Reference

#include <materialtemplatetypes.h>

Public Types

enum  Type {
  Bool , Scalar , Vec2 , Vec3 ,
  Vec4 , Color
}
 

Public Member Functions

SizeT GetSize () const
 

Public Attributes

enum MaterialTemplates::MaterialTemplateValue::Type type
 
union { 
 
   bool   b 
 
   float   f 
 
   Math::float2   f2 
 
   Math::float3   f3 
 
   Math::float4   f4 
 
data 
 
uint offset
 

Member Enumeration Documentation

◆ Type

Enumerator
Bool 
Scalar 
Vec2 
Vec3 
Vec4 
Color 

Member Function Documentation

◆ GetSize()

SizeT MaterialTemplates::MaterialTemplateValue::GetSize ( ) const
inline

Member Data Documentation

◆ b

bool MaterialTemplates::MaterialTemplateValue::b

◆ [union]

union { ... } MaterialTemplates::MaterialTemplateValue::data

◆ f

float MaterialTemplates::MaterialTemplateValue::f

◆ f2

Math::float2 MaterialTemplates::MaterialTemplateValue::f2

◆ f3

Math::float3 MaterialTemplates::MaterialTemplateValue::f3

◆ f4

Math::float4 MaterialTemplates::MaterialTemplateValue::f4

◆ offset

uint MaterialTemplates::MaterialTemplateValue::offset

◆ type

enum MaterialTemplates::MaterialTemplateValue::Type MaterialTemplates::MaterialTemplateValue::type

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