Nebula
Loading...
Searching...
No Matches
CoreGraphics::MeshCreateInfo Struct Reference

#include <mesh.h>

Detailed Description

Mesh collects vertex and index buffers with primitive groups which can be used to render with.

Public Attributes

Resources::ResourceName name
 
Util::StackArray< VertexStream, 4 > streams
 
SizeT indexBufferOffset
 
BufferId indexBuffer
 
IndexType::Code indexType
 
VertexLayoutId vertexLayout
 
CoreGraphics::PrimitiveTopology::Code topology
 
Util::Array< CoreGraphics::PrimitiveGroupprimitiveGroups
 
CoreGraphics::VertexAlloc vertexBufferAllocation
 
CoreGraphics::VertexAlloc indexBufferAllocation
 

Member Data Documentation

◆ indexBuffer

BufferId CoreGraphics::MeshCreateInfo::indexBuffer

◆ indexBufferAllocation

CoreGraphics::VertexAlloc CoreGraphics::MeshCreateInfo::indexBufferAllocation

◆ indexBufferOffset

SizeT CoreGraphics::MeshCreateInfo::indexBufferOffset

◆ indexType

IndexType::Code CoreGraphics::MeshCreateInfo::indexType

◆ name

Resources::ResourceName CoreGraphics::MeshCreateInfo::name

◆ primitiveGroups

Util::Array<CoreGraphics::PrimitiveGroup> CoreGraphics::MeshCreateInfo::primitiveGroups

◆ streams

Util::StackArray<VertexStream, 4> CoreGraphics::MeshCreateInfo::streams

◆ topology

CoreGraphics::PrimitiveTopology::Code CoreGraphics::MeshCreateInfo::topology

◆ vertexBufferAllocation

CoreGraphics::VertexAlloc CoreGraphics::MeshCreateInfo::vertexBufferAllocation

◆ vertexLayout

VertexLayoutId CoreGraphics::MeshCreateInfo::vertexLayout

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