|
|
| EZ_DECLARE_MESSAGE_TYPE (ezMsgExtractRenderData, ezMessage) |
| |
|
void | AddRenderData (const ezRenderData *pRenderData, ezRenderData::Category category, ezRenderData::Caching::Enum cachingBehavior) |
| | Adds render data for the current view. This data can be cached depending on the specified caching behavior. Non-cached data is only valid for this frame. Cached data must be manually deleted using the ezRenderWorld::DeleteCachedRenderData function.
|
| |
| void | AddDependency (ezGALTextureHandle hTexture, ezRenderData::Category category, ezBitflags< ezGALResourceState > requiredState, ezBitflags< ezGALShaderStageFlags > stage=ezGALShaderStageFlags::Auto) |
| | Records that the given texture must be in requiredState when category is rendered. Invalid handles are ignored so safe to pass in without checking. Like render data, dependencies are cached for static objects when the component's render data is cached.
|
| |
| void | AddDependency (ezGALBufferHandle hBuffer, ezRenderData::Category category, ezBitflags< ezGALResourceState > requiredState, ezBitflags< ezGALShaderStageFlags > stage=ezGALShaderStageFlags::Auto) |
| | Records that the given buffer must be in requiredState when category is rendered. Invalid handles are ignored so safe to pass in without checking. Like render data, dependencies are cached for static objects when the component's render data is cached.
|
| |
|
virtual ezInt32 | GetSortingKey () const |
| | Derived message types can override this method to influence sorting order. Smaller keys are processed first.
|
| |
|
EZ_ALWAYS_INLINE ezMessageId | GetId () const |
| | Returns the id for this message type.
|
| |
|
EZ_ALWAYS_INLINE ezUInt16 | GetSize () const |
| | Returns the size in byte of this message.
|
| |
|
EZ_ALWAYS_INLINE ezUInt64 | GetHash () const |
| | Calculates a hash of the message.
|
| |
| virtual void | Serialize (ezStreamWriter &inout_stream) const |
| | Implement this for efficient transmission across process boundaries (e.g. network transfer etc.)
|
| |
| virtual void | Deserialize (ezStreamReader &inout_stream, ezUInt8 uiTypeVersion) |
| |
|
virtual const ezRTTI * | GetDynamicRTTI () const |
| |
|
bool | IsInstanceOf (const ezRTTI *pType) const |
| | Returns whether the type of this instance is of the given type or derived from it.
|
| |
|
template<typename T > |
| EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
| | Returns whether the type of this instance is of the given type or derived from it.
|
| |