![]() |
PeriDyno 1.2.1
|
#include <GLTextureMesh.h>


Public Member Functions | |
| GLMaterial () | |
| ~GLMaterial () override | |
| void | create () override |
| void | release () override |
| void | updateGL () |
Public Member Functions inherited from dyno::Object | |
| Object () | |
| virtual | ~Object () |
| ObjectId | objectId () |
Public Attributes | |
| Vec3f | baseColor = { 0.8f, 0.8f, 0.8f } |
| float | metallic = 0.0f |
| float | roughness = 1.0f |
| float | alpha = 1.0f |
| float | bumpScale = 1.f |
| XTexture2D< dyno::Vec4f > | texColor |
| XTexture2D< dyno::Vec4f > | texBump |
| bool | mInitialized = false |
Public Attributes inherited from dyno::GraphicsObject | |
| unsigned int | id = 0xFFFFFFFF |
Additional Inherited Members | |
Static Public Member Functions inherited from dyno::Object | |
| static bool | registerClass (ClassInfo *ci) |
| static Object * | createObject (std::string name) |
| static std::map< std::string, ClassInfo * > * | getClassMap () |
| static ObjectId | baseId () |
| Base Id. | |
Protected Member Functions inherited from dyno::GraphicsObject | |
| virtual bool | isValid () const |
| GraphicsObject ()=default | |
| virtual | ~GraphicsObject ()=default |
| GraphicsObject (const GraphicsObject &)=delete | |
| GraphicsObject & | operator= (const GraphicsObject &)=delete |
Definition at line 31 of file GLTextureMesh.h.
| dyno::GLMaterial::GLMaterial | ( | ) |
Definition at line 10 of file GLTextureMesh.cpp.
|
override |
|
overridevirtual |
Implements dyno::GraphicsObject.
Definition at line 19 of file GLTextureMesh.cpp.
|
overridevirtual |
Implements dyno::GraphicsObject.
Definition at line 23 of file GLTextureMesh.cpp.

| void dyno::GLMaterial::updateGL | ( | ) |
Definition at line 29 of file GLTextureMesh.cpp.
| float dyno::GLMaterial::alpha = 1.0f |
Definition at line 47 of file GLTextureMesh.h.
| Vec3f dyno::GLMaterial::baseColor = { 0.8f, 0.8f, 0.8f } |
Definition at line 43 of file GLTextureMesh.h.
| float dyno::GLMaterial::bumpScale = 1.f |
Definition at line 49 of file GLTextureMesh.h.
| float dyno::GLMaterial::metallic = 0.0f |
Definition at line 45 of file GLTextureMesh.h.
| bool dyno::GLMaterial::mInitialized = false |
Definition at line 55 of file GLTextureMesh.h.
| float dyno::GLMaterial::roughness = 1.0f |
Definition at line 46 of file GLTextureMesh.h.
| XTexture2D<dyno::Vec4f> dyno::GLMaterial::texBump |
Definition at line 53 of file GLTextureMesh.h.
| XTexture2D<dyno::Vec4f> dyno::GLMaterial::texColor |
Definition at line 52 of file GLTextureMesh.h.