YourGameLib
Loading...
Searching...
No Matches
Public Attributes | List of all members
yourgame::gl::DrawConfig Struct Reference

#include <drawing.h>

Collaboration diagram for yourgame::gl::DrawConfig:
Collaboration graph
[legend]

Public Attributes

yourgame::gl::Shadershader = nullptr
 
yourgame::math::Cameracamera = nullptr
 
glm::mat4 modelMat = glm::mat4(1)
 
std::vector< yourgame::gl::Texture * > textures = {}
 
std::array< float, 4 > subtex = {0.0f, 1.0f, 0.0f, 1.0f}
 
GLsizei instancecount = 1
 

Member Data Documentation

◆ camera

yourgame::math::Camera* yourgame::gl::DrawConfig::camera = nullptr

◆ instancecount

GLsizei yourgame::gl::DrawConfig::instancecount = 1

◆ modelMat

glm::mat4 yourgame::gl::DrawConfig::modelMat = glm::mat4(1)

◆ shader

yourgame::gl::Shader* yourgame::gl::DrawConfig::shader = nullptr

◆ subtex

std::array<float, 4> yourgame::gl::DrawConfig::subtex = {0.0f, 1.0f, 0.0f, 1.0f}

◆ textures

std::vector<yourgame::gl::Texture *> yourgame::gl::DrawConfig::textures = {}

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