Function getStructSize

Synopsis

#include <Source/Falcor/Core/API/Buffer.h>

uint32_t getStructSize() const

Description

Get the size of a single struct. This call is only valid for structured-buffer. For other buffer types, it will return 0

Source

Lines 225-225 in Source/Falcor/Core/API/Buffer.h.

uint32_t getStructSize() const { return mStructSize; }





Add Discussion as Guest

Log in to DocsForge