Crate rin::gl [−][src]
Modules
| attributes | glsl attributes and utilities to represent them in vaos |
| autoload | |
| basic_material | |
| buffer | Buffer Objects are the main way of storing data to be used by the GPU |
| cubemap | |
| fbo | |
| gl | |
| image_based_light | This module contains image based light utilities |
| macros | |
| material | |
| object | |
| outline_material | |
| program | |
| query | |
| renderer | |
| texture | |
| traits | |
| ttf | |
| vao | |
| vao_mesh | |
| vao_path |
Macros
| attribute_format_by_name | |
| fragment_shader | |
| fragment_shader_source | |
| geometry_cache | |
| geometry_cache_per_vertex_type | |
| hash_map | Create an |
| image_cache | |
| impl_to_attribute_format | |
| program_cache | |
| shader | |
| shader_source | |
| uniforms | easy way to set uniforms to pass a draw call |
| vertex_shader | |
| vertex_shader_source |
Structs
| BasicMaterial | Material with a flat color and / or texture and gl properties |
| BitmapFont | Usually not to be used directly but internally by rin to draw_bitmap_string from a renderer |
| Buffer | A mutable buffer object allocated with gl(Named)BufferData |
| BufferStorage | Inmmutable buffer object allocated with gl(Named)BufferStorage |
| Capabilities | |
| Context | Used to issue draw calls |
| CreationProxy | |
| CubeMap | Wrapper for a |
| DebugGroup | |
| DebugInfo | |
| DrawArraysIndirectCommand | |
| DrawElementsIndirectCommand | |
| Error | |
| Fbo | Wrapper for an OpenGL frame buffer object |
| Fence | A fence can be used to wait until a gpu process has finished |
| FnPtr | |
| Gl | |
| HashMap | A hash table where the iteration order of the key-value pairs is independent of the hash values of the keys. |
| MapReadFlags | |
| MapReadWriteFlags | |
| MapWriteFlags | |
| Object | A geometry usually as some kind of glin::Vao and a transformations expressed as a Node |
| OutlineMaterial | Material to draw an outline of an object |
| Program | A wrapper for a glsl program |
| Rect | |
| Renderer | Object needed to render any rin object using OpenGL |
| Sampler | Wraps an OpenGL sampler |
| Screen | |
| ShaderMaterial | A material from a custom shader, it’s uniforms and gl properties |
| SharedBuffer | Wrapper around a Buffer with internal reference counting |
| SharedBufferStorage | Wrapper around a BufferStorage with internal reference counting |
| SimpleFbo | Wrapper over fbo that creates attachments and fbo in one call |
| SimpleVao | Is a simplified version of |
| State | Represents the state of a |
| Texture | Wraps an OpenGL texture + some metadata about it’s format |
| TextureSampler | |
| Ttf | |
| UniformsCache | |
| Vao | A wrapper for an OpenGL VAO |
| VaoMesh | Contains geometry in RAM and GPU memory and updates the GPU version before drawing if the RAM version changed since the last draw |
| VaoPath | Keeps a RAM version of a Path2D and a tesselation in the gpu and updates the gpu tesselation if the RAM version changed |
| VaoPathContour | |
| VaoPathFill | |
| Viewport |
Enums
| DebugSeverity | |
| DebugSource | |
| DebugType | |
| ErrorKind | |
| Property | |
| Shader | |
| Vendor |
Constants
Traits
| Bindings | Attribute bindings in a program |
| BufferRange | A view into a portion of a buffer object |
| BufferRangeMut | A writable view into a portion of a buffer |
| Color | |
| CreationContext | |
| CreationContextMut | |
| CubemapImage | |
| GlWindow | |
| Image | |
| Material | Common trait to all materials |
| OffscreenBuffer | |
| PrimitiveTypeToGl | |
| Render2d | |
| Render3d | |
| RenderSurface | |
| Renderer2d | 2D rendering functionality for Renderer |
| Renderer3d | |
| SurfaceCreationContext | |
| UntypedOffscreenBuffer | |
| VaoDraw | VaoRange + a draw mode |
| VaoRange | range of a vao’s vertices or elements |
| VertexFormat | Implemented by vertex types to convert attribute bindings into attribute formats |
Functions
| default_attribute_bindings | |
| default_glsl_version | |
| error_to_string | |
| gl_format_from_internal | |
| gl_type_from_internal |
Type Definitions
| IndexT | |
| Result |
Derive Macros
| UniformsLocationCache | |
| UniformsLocationCache2 | |
| VertexFormat |