Crate turbine_scene3d

Crate turbine_scene3d 

Source
Expand description

§Turbine-Scene3D

Scene graph rendering for the Turbine game engine.

§Design

  • Scene object stores all resources used for rendering
  • Frame graph stores command lists

This design allows flexible programming of scenes, without the need for a tree structure to store nodes for scene data. The frame graph can be used to debug the scene.

Structs§

ColorBuffer
References a color buffer object.
CommandList
References a command list object.
External
References an external action.
F32Uniform
References a f32 uniform.
FragmentShader
References a fragment shader.
FrameGraph
Stores how stuff is rendered in a single frame.
Matrix4Uniform
References 4D matrix uniform.
NormalBuffer
References a normal buffer object.
ObjMesh
Stores OBJ mesh data.
Program
References a program.
Scene
Stores scene data.
SceneSettings
Stores scene settings.
Texture
References a texture object.
UVBuffer
References an UV buffer object.
Vector2Uniform
References a 2D vector uniform.
Vector3Uniform
References a 3D vector uniform.
VertexArray
References a vertex array object.
VertexBuffer2
References a 2D vertex buffer object.
VertexBuffer3
References a 3D vertex buffer object.
VertexShader
References a vertex shader.

Enums§

Command
Stores a scene command.

Traits§

Backend
Implemented by Scene backend states.

Type Aliases§

ExternalFn
Function type of external action.