Nameless Engine
Loading...
Searching...
No Matches
ne::MeshIndexBufferInfo Struct Reference

#include <MeshData.h>

Public Member Functions

 MeshIndexBufferInfo ()=default
 
 MeshIndexBufferInfo (GpuResource *pIndexBuffer, unsigned int iIndexCount)
 

Public Attributes

GpuResourcepIndexBuffer = nullptr
 
unsigned int iIndexCount = 0
 

Detailed Description

Groups information about an index buffer of a mesh.

Constructor & Destructor Documentation

◆ MeshIndexBufferInfo() [1/2]

ne::MeshIndexBufferInfo::MeshIndexBufferInfo ( )
default

Creates uninitialized object.

◆ MeshIndexBufferInfo() [2/2]

ne::MeshIndexBufferInfo::MeshIndexBufferInfo ( GpuResource pIndexBuffer,
unsigned int  iIndexCount 
)
inline

Initializes the object.

Parameters
pIndexBufferIndex buffer that this material should display.
iIndexCountThe total number of indices stores in the specified index buffer.

Member Data Documentation

◆ iIndexCount

unsigned int ne::MeshIndexBufferInfo::iIndexCount = 0

The total number of indices stores in pIndexBuffer.

◆ pIndexBuffer

GpuResource* ne::MeshIndexBufferInfo::pIndexBuffer = nullptr

A non-owning pointer to mesh's index buffer.


The documentation for this struct was generated from the following file: