Expand description
Surface is a set of triangles with a single material. Such arrangement makes GPU rendering very efficient.
See Surface docs for more info and usage examples.
Structs§
- Blend
Shape - A target shape for blending.
- Blend
Shapes Container - A container for multiple blend shapes/
- CONE
- Cone surface resource.
- CUBE
- Cube surface resource.
- CYLINDER
- Cylinder surface resource.
- Input
Blend Shape Data - A set of offsets for particular vertices.
- QUAD
- Quad surface resource.
- SPHERE
- Sphere surface resource.
- Surface
- Surface is a set of triangles with a single material. Such arrangement makes GPU rendering very efficient.
- Surface
Builder - Surface builder allows you to create surfaces in declarative manner.
- Surface
Data - Data source of a surface. Each surface can share same data source, this is used in instancing technique to render multiple instances of same model at different places.
- Surface
Data Loader - Default surface resource loader.
- TORUS
- Torus surface resource.
- Vertex
Weight - Vertex weight is a pair of (bone; weight) that affects vertex.
- Vertex
Weight Set - Weight set contains up to four pairs of (bone; weight).
Traits§
- Surface
Resource Extension - A trait with extension methods for surface resource.
Type Aliases§
- Surface
Resource - Surface shared data is a vertex and index buffer that can be shared across multiple objects. This is very useful memory optimization - you create a single data storage for a surface and then share it with any instance count you want. Memory usage does not increase with instance count in this case.