#include <RawIndexBuffer.h>
|
| enum class | EInitPhase : uint8 { Pre
, Default
, MAX
} |
| |
| static RENDERCORE_API void | ReleaseRHIForAllResources () |
| |
| static RENDERCORE_API void | InitPreRHIResources () |
| |
| static RENDERCORE_API void | ChangeFeatureLevel (ERHIFeatureLevel::Type NewFeatureLevel) |
| |
| static RENDERCORE_API FName | SetScopeName (FName Name) |
| |
| FBufferRHIRef | IndexBufferRHI |
| |
| ERenderResourceState | ResourceState = ERenderResourceState::Default |
| |
| ENGINE_API bool | IsSRVCreatedByDefault (bool bAllowCPUAccess) const |
| |
| ENGINE_API bool | IsShaderResource (bool bAllowCPUAccess) const |
| |
| ENGINE_API bool | IsSRVNeeded (bool bAllowCPUAccess) const |
| |
| void | InitRHIForStreaming (FRHIBuffer *IntermediateBuffer, size_t IndexSize, FRHIResourceReplaceBatcher &Batcher) |
| |
| void | ReleaseRHIForStreaming (FRHIResourceReplaceBatcher &Batcher) |
| |
| void | SetFeatureLevel (const FStaticFeatureLevel InFeatureLevel) |
| |
| const FStaticFeatureLevel | GetFeatureLevel () const |
| |
| bool | HasValidFeatureLevel () const |
| |
| template<typename T > |
| FBufferRHIRef | CreateRHIBuffer (FRHICommandListBase &RHICmdList, T &InOutResourceObject, uint32 ResourceCount, EBufferUsageFlags InBufferUsageFlags, const TCHAR *InDebugName) |
| |
| void | SetInitPhase (EInitPhase InInitPhase) |
| |
| static ENGINE_API FBufferRHIRef | CreateRHIIndexBufferInternal (FRHICommandListBase &RHICmdList, const TCHAR *InDebugName, const FName &InOwnerName, int32 IndexCount, size_t IndexSize, FResourceArrayInterface *ResourceArray, bool bIsShaderResource) |
| |
| static RENDERCORE_API FRHICommandListBase & | GetImmediateCommandList () |
| |
| FShaderResourceViewRHIRef | SRVValue |
| |
◆ FRawStaticIndexBuffer16or32()
Constructor
- Parameters
-
| InNeedsCPUAccess | - true if resource array data should be CPU accessible |
◆ AddItem()
◆ AssignNewBuffer()
◆ CacheOptimize()
Orders a triangle list for better vertex cache coherency.
◆ CreateRHIBuffer()
◆ Empty()
◆ Get()
◆ GetNeedsCPUAccess()
The following methods are basically just accessors that allow us to hide the implementation by making the index array a private member
Implements FRawStaticIndexBuffer16or32Interface.
◆ GetOrCreateSRV()
◆ GetPointerTo()
◆ GetResourceDataSize()
◆ InitRHI()
Create the index buffer RHI resource and initialize its data
Reimplemented from FRenderResource.
◆ InitRHIForStreaming()
Similar to Init/ReleaseRHI but only update existing SRV so references to the SRV stays valid
◆ Insert()
◆ Num()
◆ ReleaseRHI()
Releases the RHI resources used by this resource. Called when leaving the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.
Reimplemented from FIndexBuffer.
◆ ReleaseRHIForStreaming()
◆ Remove()
◆ Serialize()
◆ SerializeMetaData()
◆ SetMetaData()
The documentation for this class was generated from the following files: