|
| LightControlTestMeshConeModel (const vector_t &diffuse, const vector_t &specular) |
|
| LightControlTestMeshConeModel (const vector_t &diffuse, const vector_t &specular, const vector_t &back_diffuse, const vector_t &back_specular) |
|
uint32_t | GetVertexCount () const override |
| Returns the number of kPositions required to hold the model.
|
|
| SolidColorModelBuilder (const vector_t &diffuse, const vector_t &specular) |
|
| SolidColorModelBuilder (const vector_t &diffuse, const vector_t &specular, const vector_t &back_diffuse, const vector_t &back_specular) |
|
void | PopulateVertexBuffer (const std::shared_ptr< VertexBuffer > &vertices) override |
| Populates the given VertexBuffer with model data.
|
|
void | PopulateVertexBuffer (const std::shared_ptr< VertexBuffer > &vertices, const float *transformation) override |
| Populates the given VertexBuffer with transformed model data.
|
|
|
float * | vertices_ {nullptr} |
|
float * | normals_ {nullptr} |
|
float * | texcoords_ {nullptr} |
|
vector_t | diffuse_ {1.0f, 1.0f, 1.0f, 1.0f} |
|
vector_t | specular_ {0.0f, 0.0f, 0.0f, 1.0f} |
|
vector_t | back_diffuse_ {1.0f, 1.0f, 1.0f, 1.0f} |
|
vector_t | back_specular_ {0.0f, 0.0f, 0.0f, 1.0f} |
|
◆ GetVertexCount()
uint32_t LightControlTestMeshConeModel::GetVertexCount |
( |
| ) |
const |
|
overridevirtual |
Returns the number of kPositions required to hold the model.
Implements ModelBuilder.
◆ GetVertexNormals()
const float * LightControlTestMeshConeModel::GetVertexNormals |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ GetVertexPositions()
const float * LightControlTestMeshConeModel::GetVertexPositions |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ ReleaseData()
void LightControlTestMeshConeModel::ReleaseData |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
The documentation for this class was generated from the following files: