nvidia::apex::RenderBufferData< SemanticClass, SemanticEnum > Class Template Reference
Describes all of the semantics of a render buffer. More...
#include <RenderBufferData.h>
Public Member Functions | |
|
PX_INLINE const RenderSemanticData & | getSemanticData (SemanticEnum semantic) const |
| Returns the properties of a base semantic. | |
| PX_INLINE uint32_t | getNumCustomSemantics () const |
| Returns the number of custom semantics. | |
|
PX_INLINE const RenderSemanticData & | getCustomSemanticData (uint32_t index) const |
| Returns the properties of a custom semantic. | |
| PX_INLINE void | setCustomSemanticData (RenderSemanticData *data, uint32_t num) |
| Set a specific set of custom semantics on this data buffer. | |
| PX_INLINE void | setSemanticData (SemanticEnum semantic, const void *data, uint32_t stride, RenderDataFormat::Enum format, RenderDataFormat::Enum srcFormat=RenderDataFormat::UNSPECIFIED) |
| Set the properties (pointer and stride) of a base semantic. | |
Detailed Description
template<class SemanticClass, class SemanticEnum>
class nvidia::apex::RenderBufferData< SemanticClass, SemanticEnum >
Describes all of the semantics of a render buffer.
Member Function Documentation
template<class SemanticClass, class SemanticEnum>
| PX_INLINE void nvidia::apex::RenderBufferData< SemanticClass, SemanticEnum >::setCustomSemanticData | ( | RenderSemanticData * | data, |
| uint32_t | num | ||
| ) | [inline] |
Set a specific set of custom semantics on this data buffer.
If there are named custom semantics in a RenderMeshAsset, its RenderMeshActor will call this function to set those semantics on this buffer.
The documentation for this class was generated from the following file:
Generated on Fri Dec 15 2017 13:58:40
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.