The IIndices video object interface.
More...
#include "murl_video_i_indices.h"
The IIndices video object interface.
This interface represents a container object holding references to one or more individual IIndexBuffer objects.
Used internally by various geometry graph nodes, such as Graph::GenericGeometry, Graph::ResourceMeshGeometry and others.
◆ AddIndexBuffer() [1/4]
Add a single default index buffer.
- Parameters
-
indexBuffer | The index buffer to add. |
- Returns
- The zero-based index of the index buffer in the container, or -1 if failed.
◆ AddIndexBuffer() [2/4]
Add a single predefined index buffer.
- Parameters
-
item | The predefined item. |
indexBuffer | The index buffer to add. |
- Returns
- The zero-based index of the index buffer in the container, or -1 if failed.
◆ AddIndexBuffer() [3/4]
Add a single custom index buffer, by its unique integer ID in the renderer.
- Parameters
-
id | The buffer's unique integer ID. |
indexBuffer | The index buffer to add. |
- Returns
- The zero-based index of the index buffer in the container, or -1 if failed.
◆ AddIndexBuffer() [4/4]
Add a single custom index buffer, by its actual name.
- Parameters
-
name | The buffer name. |
indexBuffer | The index buffer to add. |
- Returns
- The zero-based index of the index buffer in the container, or -1 if failed.
◆ RemoveAllIndexBuffers()
virtual Bool Murl::Video::IIndices::RemoveAllIndexBuffers |
( |
| ) |
|
|
pure virtual |
Remove all present index buffers from the container.
- Returns
- true if successful.
◆ GetIndexBufferIndex() [1/3]
Get the index of a predefined index buffer in the container.
- Parameters
-
item | The index buffer item to query. |
- Returns
- The zero-based index of the buffer, or -1 if not found.
◆ GetIndexBufferIndex() [2/3]
virtual SInt32 Murl::Video::IIndices::GetIndexBufferIndex |
( |
SInt32 |
id | ) |
const |
|
pure virtual |
Get the index of a custom index buffer in the container, by its unique integer ID.
- Parameters
-
id | The unique integer ID of the index buffer to query. |
- Returns
- The zero-based index of the buffer, or -1 if not found.
◆ GetIndexBufferIndex() [3/3]
virtual SInt32 Murl::Video::IIndices::GetIndexBufferIndex |
( |
const String & |
name | ) |
const |
|
pure virtual |
Get the index of a custom index buffer in the container, by its actual name.
- Parameters
-
- Returns
- The zero-based index of the buffer, or -1 if not found.
◆ GetNumberOfIndexBuffers()
virtual UInt32 Murl::Video::IIndices::GetNumberOfIndexBuffers |
( |
| ) |
const |
|
pure virtual |
Get the total number of individual index buffers present in the container.
- Returns
- The number of index buffers present.
◆ GetIndexBufferItem()
◆ GetIndexBufferId()
virtual SInt32 Murl::Video::IIndices::GetIndexBufferId |
( |
UInt32 |
index | ) |
const |
|
pure virtual |
Get the unique integer ID of a index buffer at a given index.
- Parameters
-
- Returns
- The unique ID, or -1 if the index is out of range.
◆ GetIndexBuffer()
Get the index buffer at a given index.
- Parameters
-
- Returns
- The buffer, or null if the index is out of range.
◆ GetSignature()
UInt32 Murl::Video::IIndices::GetSignature |
( |
| ) |
const |
|
overridepure virtual |
The documentation for this interface was generated from the following file: