Expand description
§OpenGL/WeblGL Model / Shader Program abstraction library
This library provides structures for OpenGL shaders … !
Modules§
Macros§
Structs§
- Descriptor
- Index
Buffer - A subset of a data buffer for use with OpenGL index data.
- Material
- A null material for now
- Model3D
OpenGL - Model3D
WebGL - Pipeline
Desc - Shader
Instantiable - This is a shader-specific instantiable built from the vertices of an mod3d_base::Instantiable
- Shader
Material Base Data - Change to u8s
- Texture
- A null texture for now
- Transformation
- A transformation corresponds to a translation of a rotation of a scaling
- Uniform
Buffer - Creates a UniformBuffer that may contain the data for a number of program Uniforms
- Vertex
Buffer - A subset of a data buffer for use with OpenGL vertex data.
- Vertices
- This is a set of OpenGL vertices with crate::GlBuffer for all of its contents
Enums§
- Buffer
View - A view of data with either vertices of indices
- GlShader
Type - Texture
Id - An enumeration of texures - that this crate particularly cares about
- Uniform
Id - An enumeration of uniforms - that this crate particularly cares about
Traits§
- Gl
- This must provide Debug as Rust requires a type that is generic on a type of trait Gl to have that generic support Debug in order to derive Debug on the type.
- GlBuffer
- The GlBuffer is something that is the Gl context’s static draw copy of a u8 that forms the values for vertices and indices etc.
- GlProgram
- GlShader
- GlVao
- The GlVao correlates to an OpenGl VAO buffer for a ShaderInstantiable mesh + GlProgram