VertexDataProvider::ComponentDescription Struct Reference

VertexDataProvider::ComponentDescription Struct Reference

#include <renderer.h>

Class Description

This structure carries information about a component.

Definition at line 123 of file renderer.h.

Public Types

enum  Type { eFloat, eByte, eColor, eShort }
 Type of the component. More...
 

Public Attributes

enum mudbox::VertexDataProvider::ComponentDescription::Type m_eType
 
int m_iDimension
 Dimension of the component, must not be greater than 4. More...
 
Material::VertexDataUsage m_eUsage
 This tells the renderer what to do with this data. More...
 

Member Enumeration Documentation

enum Type

Type of the component.

Enumerator
eFloat 
eByte 
eColor 
eShort 

Definition at line 126 of file renderer.h.

Member Data Documentation

int m_iDimension

Dimension of the component, must not be greater than 4.

Definition at line 134 of file renderer.h.

Material::VertexDataUsage m_eUsage

This tells the renderer what to do with this data.

It can be used for general purposes, or directly passed to the shader in a texture coordinate channel.

See also
VertexDataUsage

Definition at line 137 of file renderer.h.


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