Open 3D Engine AtomTressFX Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Public Member Functions | |
EI_CommandContext & | GetCurrentCommandContext () |
std::unique_ptr< EI_Resource > | CreateBufferResource (const int structSize, const int structCount, const unsigned int flags, const char *name) |
std::unique_ptr< EI_Resource > | CreateUint32Resource (const int width, const int height, const int arraySize, const char *name, uint32_t ClearValue=0) |
std::unique_ptr< EI_Resource > | CreateRenderTargetResource (const int width, const int height, const size_t channels, const size_t channelSize, const char *name, AMD::float4 *ClearValues=nullptr) |
std::unique_ptr< EI_Resource > | CreateDepthResource (const int width, const int height, const char *name) |
std::unique_ptr< EI_Resource > | CreateResourceFromFile (const char *szFilename, bool useSRGB=false) |
std::unique_ptr< EI_Resource > | CreateSampler (EI_Filter MinFilter, EI_Filter MaxFilter, EI_Filter MipFilter, EI_AddressMode AddressMode) |
std::unique_ptr< EI_BindLayout > | CreateLayout (const EI_LayoutDescription &description) |
std::unique_ptr< EI_BindSet > | CreateBindSet (EI_BindLayout *layout, EI_BindSetDescription &bindSet) |
std::unique_ptr< EI_RenderTargetSet > | CreateRenderTargetSet (const EI_ResourceFormat *pResourceFormats, const uint32_t numResources, const EI_AttachmentParams *AttachmentParams, float *clearValues) |
std::unique_ptr< EI_RenderTargetSet > | CreateRenderTargetSet (const EI_Resource **pResourcesArray, const uint32_t numResources, const EI_AttachmentParams *AttachmentParams, float *clearValues) |
std::unique_ptr< EI_GLTFTexturesAndBuffers > | CreateGLTFTexturesAndBuffers (GLTFCommon *pGLTFCommon) |
std::unique_ptr< EI_GltfPbrPass > | CreateGLTFPbrPass (EI_GLTFTexturesAndBuffers *pGLTFTexturesAndBuffers, EI_RenderTargetSet *renderTargetSet) |
std::unique_ptr< EI_GltfDepthPass > | CreateGLTFDepthPass (EI_GLTFTexturesAndBuffers *pGLTFTexturesAndBuffers, EI_RenderTargetSet *renderTargetSet) |
void | BeginRenderPass (EI_CommandContext &commandContext, const EI_RenderTargetSet *pRenderPassSet, const wchar_t *pPassName, uint32_t width=0, uint32_t height=0) |
void | EndRenderPass (EI_CommandContext &commandContext) |
void | SetViewportAndScissor (EI_CommandContext &commandContext, uint32_t topX, uint32_t topY, uint32_t width, uint32_t height) |
std::unique_ptr< EI_PSO > | CreateComputeShaderPSO (const char *shaderName, const char *entryPoint, EI_BindLayout **layouts, int numLayouts) |
std::unique_ptr< EI_PSO > | CreateGraphicsPSO (const char *vertexShaderName, const char *vertexEntryPoint, const char *fragmentShaderName, const char *fragmentEntryPoint, EI_PSOParams &psoParams) |
EI_CommandContext & | GetComputeCommandContext () |
void | WaitForCompute () |
void | SignalComputeStart () |
void | WaitForLastFrameGraphics () |
void | SubmitComputeCommandList () |
void | OnCreate (HWND hWnd, uint32_t numBackBuffers, bool enableValidation, const char *appName) |
void | OnResize (uint32_t width, uint32_t height) |
void | FlushGPU () |
void | OnDestroy () |
void | OnBeginFrame (bool bDoAsync) |
void | OnEndFrame () |
void | BeginNewCommandBuffer () |
void | BeginNewComputeCommandBuffer () |
void | EndAndSubmitCommandBuffer () |
void | BeginBackbufferRenderPass () |
void | EndRenderPass () |
void | RenderUI () |
void | SetVSync (bool vSync) |
CAULDRON_DX12::Device * | GetCauldronDevice () |
CAULDRON_DX12::UploadHeap * | GetUploadHeap () |
CAULDRON_DX12::StaticBufferPool * | GetVidMemBufferPool () |
CAULDRON_DX12::DynamicBufferRing * | GetConstantBufferRing () |
EI_Resource * | GetDepthBufferResource () |
EI_ResourceFormat | GetDepthBufferFormat () |
EI_Resource * | GetColorBufferResource () |
EI_ResourceFormat | GetColorBufferFormat () |
EI_Resource * | GetShadowBufferResource () |
EI_ResourceFormat | GetShadowBufferFormat () |
EI_Resource * | GetDefaultWhiteTexture () |
EI_BindSet * | GetSamplerBindSet () |
void | GetTimeStamp (char *name) |
int | GetNumTimeStamps () |
const char * | GetTimeStampName (const int i) |
int | GetTimeStampValue (const int i) |
void | DrawFullScreenQuad (EI_CommandContext &commandContext, EI_PSO &pso, EI_BindSet **bindSets, uint32_t numBindSets) |
float | GetAverageGpuTime () const |
ID3D12Device * | GetDX12Device () |
CAULDRON_DX12::ResourceViewHeaps & | GetResourceViewHeaps () |
void | AllocateCPUVisibleView (CAULDRON_DX12::ResourceView *pResourceView) |
EI_CommandContext & | GetCurrentCommandContext () |
std::unique_ptr< EI_Resource > | CreateBufferResource (const int structSize, const int structCount, const unsigned int flags, const char *name) |
std::unique_ptr< EI_Resource > | CreateUint32Resource (const int width, const int height, const size_t arraySize, const char *name, uint32_t ClearValue=0) |
std::unique_ptr< EI_Resource > | CreateRenderTargetResource (const int width, const int height, const size_t channels, const size_t channelSize, const char *name, AMD::float4 *ClearValues=nullptr) |
std::unique_ptr< EI_Resource > | CreateDepthResource (const int width, const int height, const char *name) |
std::unique_ptr< EI_Resource > | CreateResourceFromFile (const char *szFilename, bool useSRGB=false) |
std::unique_ptr< EI_Resource > | CreateSampler (EI_Filter MinFilter, EI_Filter MaxFilter, EI_Filter MipFilter, EI_AddressMode AddressMode) |
std::unique_ptr< EI_BindLayout > | CreateLayout (const EI_LayoutDescription &description) |
std::unique_ptr< EI_BindSet > | CreateBindSet (EI_BindLayout *layout, EI_BindSetDescription &bindSet) |
std::unique_ptr< EI_RenderTargetSet > | CreateRenderTargetSet (const EI_ResourceFormat *pResourceFormats, const uint32_t numResources, const EI_AttachmentParams *AttachmentParams, float *clearValues) |
std::unique_ptr< EI_RenderTargetSet > | CreateRenderTargetSet (const EI_Resource **pResourcesArray, const uint32_t numResources, const EI_AttachmentParams *AttachmentParams, float *clearValues) |
std::unique_ptr< EI_GLTFTexturesAndBuffers > | CreateGLTFTexturesAndBuffers (GLTFCommon *pGLTFCommon) |
std::unique_ptr< EI_GltfPbrPass > | CreateGLTFPbrPass (EI_GLTFTexturesAndBuffers *pGLTFTexturesAndBuffers, EI_RenderTargetSet *renderTargetSet) |
std::unique_ptr< EI_GltfDepthPass > | CreateGLTFDepthPass (EI_GLTFTexturesAndBuffers *pGLTFTexturesAndBuffers, EI_RenderTargetSet *renderTargetSet) |
void | BeginRenderPass (EI_CommandContext &commandContext, const EI_RenderTargetSet *pRenderPassSet, const wchar_t *pPassName, uint32_t width=0, uint32_t height=0) |
void | EndRenderPass (EI_CommandContext &commandContext) |
void | SetViewportAndScissor (EI_CommandContext &commandContext, uint32_t topX, uint32_t topY, uint32_t width, uint32_t height) |
std::unique_ptr< EI_PSO > | CreateComputeShaderPSO (const char *shaderName, const char *entryPoint, EI_BindLayout **layouts, int numLayouts) |
std::unique_ptr< EI_PSO > | CreateGraphicsPSO (const char *vertexShaderName, const char *vertexEntryPoint, const char *fragmentShaderName, const char *fragmentEntryPoint, EI_PSOParams &psoParams) |
EI_CommandContext & | GetComputeCommandContext () |
void | WaitForCompute () |
void | SignalComputeStart () |
void | WaitForLastFrameGraphics () |
void | SubmitComputeCommandList () |
void | OnCreate (HWND hWnd, uint32_t numBackBuffers, bool enableValidation, const char *appName) |
void | OnResize (uint32_t width, uint32_t height) |
void | SetVSync (bool vSync) |
void | FlushGPU () |
void | OnDestroy () |
void | OnBeginFrame (bool bDoAsync) |
void | OnEndFrame () |
void | BeginNewCommandBuffer () |
void | BeginNewComputeCommandBuffer () |
void | BeginBackbufferRenderPass () |
void | EndRenderPass () |
void | RenderUI () |
CAULDRON_VK::Device * | GetCauldronDevice () |
VkRenderPass | GetSwapChainRenderPass () |
CAULDRON_VK::UploadHeap * | GetUploadHeap () |
CAULDRON_VK::StaticBufferPool * | GetVidMemBufferPool () |
CAULDRON_VK::DynamicBufferRing * | GetConstantBufferRing () |
EI_Resource * | GetDepthBufferResource () |
EI_ResourceFormat | GetDepthBufferFormat () |
EI_Resource * | GetColorBufferResource () |
EI_ResourceFormat | GetColorBufferFormat () |
EI_Resource * | GetShadowBufferResource () |
EI_ResourceFormat | GetShadowBufferFormat () |
EI_Resource * | GetDefaultWhiteTexture () |
EI_BindSet * | GetSamplerBindSet () |
void | GetTimeStamp (char *name) |
int | GetNumTimeStamps () |
const char * | GetTimeStampName (const int i) |
int | GetTimeStampValue (const int i) |
void | DrawFullScreenQuad (EI_CommandContext &commandContext, EI_PSO &pso, EI_BindSet **bindSets, uint32_t numBindSets) |
float | GetAverageGpuTime () const |
VkDevice | GetVulkanDevice () |
CAULDRON_VK::ResourceViewHeaps * | GetResourceViewHeaps () |
void | EndAndSubmitCommandBuffer () |