|
Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
|
A wrapper over regular shader attributes intended to be used as "instance" attributes, i.e., ones that change after what would traditionally be one-or-more draw calls in the same render stage. More...
#include <vector>#include <string>#include <glm/glm.hpp>#include <GL/glew.h>Go to the source code of this file.
Classes | |
| struct | ToyMaker::InstanceAttributeDescriptor |
| A struct describing the name and type of each attribute designated as an instance attribute. More... | |
| struct | ToyMaker::InstanceLayout |
| Object representing the layout of one set of related attributes representing (presumably) one object or instance. More... | |
| class | ToyMaker::BaseInstanceAllocator |
| Class that is responsible for taking an instance layout and correctly uploading it to the GPU. More... | |
| class | ToyMaker::BuiltinModelMatrixAllocator |
| An instance allocator initialized with the built in model matrix layout object. More... | |
Namespaces | |
| namespace | ToyMaker |
| Namespace containing all class definitions and functions related to the ToyMaker engine. | |
Enumerations | |
| enum | ToyMaker::DefaultInstanceAttributeLocations : int { FIXED_MATRIXMODEL =7 , RUNTIME =-8 } |
| Attribute locations, per existing shaders. | |
Variables | |
| static InstanceLayout | ToyMaker::BuiltinModelMatrixLayout |
| The layout of the in-built model matrix instance attribute, present on pretty much every engine-defined shader. | |
A wrapper over regular shader attributes intended to be used as "instance" attributes, i.e., ones that change after what would traditionally be one-or-more draw calls in the same render stage.