NAP
Public Attributes | List of all members
StructBufferDescriptor Struct Reference

#include <structbufferdescriptor.h>

Public Attributes

ResourcePtr< UniformStructmElement
 Property 'Element': The layout of a single struct buffer element. More...
 
uint mCount = 1
 Property 'Count': The number of elements the buffer consists of. More...
 

Description

Describes the layout of a struct buffer. Combines the layout of a single element with a total element count.

This resource is used by StructGPUBuffer to denote the buffer layout, allocate the right amount of memory, and possibly store information on how fill the buffer accordingly.

Collaboration diagram for StructBufferDescriptor:
[legend]

Member Data Documentation

◆ mCount

uint mCount = 1

Property 'Count': The number of elements the buffer consists of.

◆ mElement

Property 'Element': The layout of a single struct buffer element.