Function getFormat

Synopsis

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

ResourceFormat getFormat() const

Description

Get the buffer format. This call is only valid for typed-buffers, for other buffer types it will return ResourceFormat::Unknown

Source

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

ResourceFormat getFormat() const { return mFormat; }





Add Discussion as Guest

Log in