PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::GLShape Class Reference

#include <GLTextureMesh.h>

Inheritance diagram for dyno::GLShape:
Collaboration diagram for dyno::GLShape:

Public Member Functions

 GLShape ()
 
 ~GLShape () override
 
void create () override
 
void release () override
 
void updateGL ()
 
- Public Member Functions inherited from dyno::Object
 Object ()
 
virtual ~Object ()
 
ObjectId objectId ()
 

Public Attributes

XBuffer< dyno::TopologyModule::TriangleglVertexIndex
 
XBuffer< dyno::TopologyModule::TriangleglNormalIndex
 
XBuffer< dyno::TopologyModule::TriangleglTexCoordIndex
 
glm::mat4 transform
 
std::shared_ptr< GLMaterialmaterial = nullptr
 
- Public Attributes inherited from dyno::GraphicsObject
unsigned int id = 0xFFFFFFFF
 

Private Attributes

bool mInitialized = false
 

Additional Inherited Members

- Static Public Member Functions inherited from dyno::Object
static bool registerClass (ClassInfo *ci)
 
static ObjectcreateObject (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
 
GraphicsObjectoperator= (const GraphicsObject &)=delete
 

Detailed Description

Definition at line 58 of file GLTextureMesh.h.

Constructor & Destructor Documentation

◆ GLShape()

dyno::GLShape::GLShape ( )

GLShape

Definition at line 38 of file GLTextureMesh.cpp.

◆ ~GLShape()

dyno::GLShape::~GLShape ( )
override

Definition at line 42 of file GLTextureMesh.cpp.

Member Function Documentation

◆ create()

void dyno::GLShape::create ( )
overridevirtual

Implements dyno::GraphicsObject.

Definition at line 46 of file GLTextureMesh.cpp.

Here is the caller graph for this function:

◆ release()

void dyno::GLShape::release ( )
overridevirtual

Implements dyno::GraphicsObject.

Definition at line 58 of file GLTextureMesh.cpp.

◆ updateGL()

void dyno::GLShape::updateGL ( )

Definition at line 65 of file GLTextureMesh.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ glNormalIndex

XBuffer<dyno::TopologyModule::Triangle> dyno::GLShape::glNormalIndex

Definition at line 70 of file GLTextureMesh.h.

◆ glTexCoordIndex

XBuffer<dyno::TopologyModule::Triangle> dyno::GLShape::glTexCoordIndex

Definition at line 71 of file GLTextureMesh.h.

◆ glVertexIndex

XBuffer<dyno::TopologyModule::Triangle> dyno::GLShape::glVertexIndex

Definition at line 69 of file GLTextureMesh.h.

◆ material

std::shared_ptr<GLMaterial> dyno::GLShape::material = nullptr

Definition at line 75 of file GLTextureMesh.h.

◆ mInitialized

bool dyno::GLShape::mInitialized = false
private

Definition at line 78 of file GLTextureMesh.h.

◆ transform

glm::mat4 dyno::GLShape::transform

Definition at line 73 of file GLTextureMesh.h.


The documentation for this class was generated from the following files: