|
Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
|
Contains engine's built-in vertex definitions, along with their associated attribute locations in the engine's built-in shader programs. A wrapper over OpenGL shader attributes. More...
#include <string>#include <glm/glm.hpp>#include <nlohmann/json.hpp>Go to the source code of this file.
Classes | |
| struct | ToyMaker::VertexAttributeDescriptor |
| The description of a single vertex attribute associated with a vertex layout, giving its size and location id. More... | |
| struct | ToyMaker::VertexLayout |
| A list of attribute descriptors that together define the layout and size of the vertex they make up in GPU memory. More... | |
| struct | ToyMaker::BuiltinVertexData |
| The vertex data used by all this engine's in-built shader program's vertex shaders. More... | |
Namespaces | |
| namespace | ToyMaker |
| Namespace containing all class definitions and functions related to the ToyMaker engine. | |
Enumerations | |
| enum | ToyMaker::DefaultAttributeLocation { LOCATION_POSITION =0 , LOCATION_NORMAL =1 , LOCATION_TANGENT =2 , LOCATION_COLOR =3 , LOCATION_UV1 =4 , LOCATION_UV2 =5 , LOCATION_UV3 =6 } |
| Values for different attribute locations used by the engine's built-in shader programs. | |
Functions | |
| void | ToyMaker::from_json (const nlohmann::json &json, BuiltinVertexData &builtinVertexData) |
| void | ToyMaker::to_json (nlohmann::json &json, const BuiltinVertexData &builtinVertexData) |
Variables | |
| VertexLayout | ToyMaker::BuiltinVertexLayout |
| The vertex layout used by most shader programs built into the engine. | |
Contains engine's built-in vertex definitions, along with their associated attribute locations in the engine's built-in shader programs. A wrapper over OpenGL shader attributes.