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
size_t indexBufferOffset
BufferId indexBuffer = CoreGraphics::InvalidBufferId
IndexType::Code indexType = IndexType::None
VertexLayoutId vertexLayout = CoreGraphics::InvalidVertexLayoutId
CoreGraphics::PrimitiveTopology::Code topology = CoreGraphics::PrimitiveTopology::InvalidPrimitiveTopology
Util::Array< CoreGraphics::PrimitiveGroupprimitiveGroups

Member Data Documentation

◆ indexBuffer

BufferId CoreGraphics::MeshCreateInfo::indexBuffer = CoreGraphics::InvalidBufferId

◆ indexBufferOffset

size_t CoreGraphics::MeshCreateInfo::indexBufferOffset

◆ indexType

IndexType::Code CoreGraphics::MeshCreateInfo::indexType = IndexType::None

◆ name

Resources::ResourceName CoreGraphics::MeshCreateInfo::name

◆ primitiveGroups

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

◆ streams

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

◆ topology

◆ vertexLayout

VertexLayoutId CoreGraphics::MeshCreateInfo::vertexLayout = CoreGraphics::InvalidVertexLayoutId

The documentation for this struct was generated from the following file:
  • /github/workspace/code/render/coregraphics/mesh.h