Expand description
Managers for various type of resources.
Structs§
- Camera
Manager - Manages the camera’s location and projection settings.
- Directional
Light Manager - Manages directional lights and their associated shadow maps.
- GpuCulling
Input - Cpu side input to gpu-based culling
- GpuVertex
Ranges - The skeleton and mes vertex ranges, in a format that’s suitable to be sent to the GPU.
- Internal
Directional Light - Internal representation of a directional light.
- Internal
Material - Internal representation of a material.
- Internal
Mesh - Internal representation of a mesh.
- Internal
Object - Internal representation of a Object.
- Internal
Skeleton - Internal representation of a Skeleton
- Internal
Texture - Internal representation of a Texture.
- Material
KeyPair - Key which determine’s an object’s archetype.
- Material
Manager - Manages materials and their associated BindGroups in CPU modes.
- Mesh
Buffers - Set of megabuffers used by the mesh manager.
- Mesh
Manager - Manages vertex and instance buffers. All buffers are sub-allocated from megabuffers.
- Object
Manager - Manages objects. That’s it. ¯\_(ツ)_/¯
- Shadow
Coordinates - The location of a shadow map in the shadow atlas.
- Skeleton
Manager - Manages skeletons.
- Texture
Manager - Manages textures and associated bindless bind groups
- Texture
Manager Ready Output - Output of readying up a
TextureManager
.
Constants§
- INDEX_
SIZE - Size of a single index.
- MAX_
TEXTURE_ COUNT - Largest amount of supported textures per type
- STARTING_
2D_ TEXTURES - When using the GpuDriven profile, we start the 2D texture manager with a bind group with this many textures.
- STARTING_
CUBE_ TEXTURES - When using the GpuDriven profile, we start the Cubemap texture manager with a bind group with this many textures.
- STARTING_
INDICES - Pre-allocated index count in the index megabuffer.
- STARTING_
VERTICES - Pre-allocated vertex count in the vertex megabuffers.
- VERTEX_
COLOR_ SIZE - Size of a single vertex color.
- VERTEX_
COLOR_ SLOT - Vertex buffer slot for colors
- VERTEX_
JOINT_ INDEX_ SIZE - Size of a joint index vector
- VERTEX_
JOINT_ INDEX_ SLOT - Vertex buffer slot for joint indices
- VERTEX_
JOINT_ WEIGHT_ SIZE - Size of a joint weight vector
- VERTEX_
JOINT_ WEIGHT_ SLOT - Vertex buffer slot for joint weights
- VERTEX_
NORMAL_ SIZE - Size of a single vertex normal.
- VERTEX_
NORMAL_ SLOT - Vertex buffer slot for normals
- VERTEX_
OBJECT_ INDEX_ SLOT - Vertex buffer slot for object indices Note that this slot is only used in the GpuDriven profile.
- VERTEX_
POSITION_ SIZE - Size of a single vertex position.
- VERTEX_
POSITION_ SLOT - Vertex buffer slot for positions
- VERTEX_
TANGENT_ SIZE - Size of a single vertex tangent.
- VERTEX_
TANGENT_ SLOT - Vertex buffer slot for tangents
- VERTEX_
UV0_ SLOT - Vertex buffer slot for uv0
- VERTEX_
UV1_ SLOT - Vertex buffer slot for uv1
- VERTEX_
UV_ SIZE - Size of a single vertex texture coordinate.