Classes

GraphicsAssets/Shaders

Brief descriptions

Detailed information

ShaderAssetView

engine/core/modules/graphics_assets/include/graphics_assets/shader_asset.h

class ShaderAssetView : public nau::IAssetView

Public Functions

inline const Shader *getShader() const
inline VDECL getInputLayout() const

Public Static Functions

static async::Task<nau::Ptr<ShaderAssetView>> createFromAssetAccessor(nau::Ptr<> accessor)
static PROGRAM makeShaderProgram(eastl::span<ShaderAssetView::Ptr> shaderAssets, VDECL overrideVDecl = BAD_VDECL)

Private Types

using Ptr = nau::Ptr<ShaderAssetView>

Private Members

Shader m_shader
VDECL m_inputLayout