Function getElementCount

Synopsis

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

uint32_t getElementCount() const

Description

Get the element count. For structured-buffers, this is the number of structs. For typed-buffers, this is the number of elements. For other buffer, will return the size in bytes.

Source

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

uint32_t getElementCount() const { return mElementCount; }





Add Discussion as Guest

Log in