Helper methods for creating, reading from and writing to VertexBuffers and IndexBuffers.
More...
|
static BoundingBox | ComputeBoundingBox (VertexBuffer vb, int vertexCount) |
| Generates a BoundingBox that completely contains all points within a VertexBuffer. More...
|
|
static BoundingBox | ComputeBoundingBox (Mesh mesh) |
| Generates a BoundingBox that completely contains all points within a Mesh. More...
|
|
static BoundingSphere | ComputeBoundingSphere (VertexBuffer vb, int vertexCount) |
| Generates a BoundingSphere that completely contains all points within a VertexBuffer. More...
|
|
static BoundingSphere | ComputeBoundingSphere (Mesh mesh) |
| Generates a BoundingSphere that completely contains all points within a Mesh. More...
|
|
Helper methods for creating, reading from and writing to VertexBuffers and IndexBuffers.
◆ ComputeBoundingBox() [1/2]
static BoundingBox OmegaEngine.Graphics.BufferHelper.ComputeBoundingBox |
( |
VertexBuffer |
vb, |
|
|
int |
vertexCount |
|
) |
| |
|
inlinestatic |
Generates a BoundingBox that completely contains all points within a VertexBuffer.
- Parameters
-
vb | The VertexBuffer to be contained within the BoundingBox. |
vertexCount | The total number of vertex contained within vb . |
◆ ComputeBoundingBox() [2/2]
static BoundingBox OmegaEngine.Graphics.BufferHelper.ComputeBoundingBox |
( |
Mesh |
mesh | ) |
|
|
inlinestatic |
Generates a BoundingBox that completely contains all points within a Mesh.
- Parameters
-
mesh | The Mesh to be contained within the BoundingBox. |
◆ ComputeBoundingSphere() [1/2]
static BoundingSphere OmegaEngine.Graphics.BufferHelper.ComputeBoundingSphere |
( |
VertexBuffer |
vb, |
|
|
int |
vertexCount |
|
) |
| |
|
inlinestatic |
Generates a BoundingSphere that completely contains all points within a VertexBuffer.
- Parameters
-
vb | The VertexBuffer to be contained within the BoundingSphere. |
vertexCount | The total number of vertex contained within vb . |
◆ ComputeBoundingSphere() [2/2]
static BoundingSphere OmegaEngine.Graphics.BufferHelper.ComputeBoundingSphere |
( |
Mesh |
mesh | ) |
|
|
inlinestatic |
Generates a BoundingSphere that completely contains all points within a Mesh.
- Parameters
-
mesh | The Mesh to be contained within the BoundingSphere. |
The documentation for this class was generated from the following file:
- OmegaEngine/Graphics/BufferHelper.cs