#include <normalvertex.h>
◆ NormalVertex() [1/2]
Render::NormalVertex::NormalVertex |
( |
const Attribute & | attribute | ) |
|
The resources of this class may be enabled by other components prior to call from Material to add shader resouces.
- Parameters
-
Create | a attribute buffer. |
Create | a varying vector. |
Create | a uniform matrix. |
◆ NormalVertex() [2/2]
◆ ~NormalVertex()
virtual Render::NormalVertex::~NormalVertex |
( |
| ) |
|
|
virtual |
◆ addShaderCode()
virtual void Render::NormalVertex::addShaderCode |
( |
Material * | pMaterial | ) |
|
|
virtual |
Add shader-code for vertex, tessellation, geometry, and fragment shaders.
Implements Render::Normal.
◆ addShaderResources()
virtual void Render::NormalVertex::addShaderResources |
( |
Material * | pMaterial | ) |
|
|
virtual |
Add your uniforms, attributes, and varyings along with resources utilized by your shader-code modules.
Implements Render::Normal.
◆ create()
virtual void Render::NormalVertex::create |
( |
Material * | pMaterial | ) |
|
|
virtual |
◆ getNormalArray()
◆ normalsToCArray()
String Render::NormalVertex::normalsToCArray |
( |
| ) |
|
◆ reverseNormals()
void Render::NormalVertex::reverseNormals |
( |
| ) |
|
◆ setNormal()
void Render::NormalVertex::setNormal |
( |
const Vector3f & | normal, |
|
|
uint | index ) |
◆ setNormalArray() [1/2]
void Render::NormalVertex::setNormalArray |
( |
const Vector3fArray & | array | ) |
|
|
inline |
◆ setNormalArray() [2/2]
void Render::NormalVertex::setNormalArray |
( |
const Vector3fInitializer & | list, |
|
|
uint | startIndex = 0 ) |
◆ update()
virtual void Render::NormalVertex::update |
( |
Material * | pMaterial | ) |
|
|
virtual |
◆ Surface::Material
◆ attributeString
const String Render::NormalVertex::attributeString |
|
static |
◆ normal
The documentation for this class was generated from the following file: