jGL
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
jGL::TexturedParticle Struct Reference

Particle with a texture, with a position, orientation, and scale, colour, and texture region. More...

#include <primitive.h>

Inheritance diagram for jGL::TexturedParticle:
Inheritance graph
[legend]
Collaboration diagram for jGL::TexturedParticle:
Collaboration graph
[legend]

Public Member Functions

 TexturedParticle ()=default
 
 TexturedParticle (glm::vec4 p, glm::vec4 c, glm::vec4 t)
 
- Public Member Functions inherited from jGL::Primitive
virtual ~Primitive ()=default
 

Public Attributes

glm::vec4 state
 
glm::vec4 colour
 
glm::vec4 texCoord
 

Detailed Description

Particle with a texture, with a position, orientation, and scale, colour, and texture region.

Constructor & Destructor Documentation

◆ TexturedParticle() [1/2]

jGL::TexturedParticle::TexturedParticle ( )
default

◆ TexturedParticle() [2/2]

jGL::TexturedParticle::TexturedParticle ( glm::vec4  p,
glm::vec4  c,
glm::vec4  t 
)
inline

Member Data Documentation

◆ colour

glm::vec4 jGL::TexturedParticle::colour

◆ state

glm::vec4 jGL::TexturedParticle::state

◆ texCoord

glm::vec4 jGL::TexturedParticle::texCoord

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