Classes¶
Assets/Shaders
Brief descriptions¶
Structures |
|
Describes a parameter within a shader input layout. |
|
Describes a user-defined shader variable type. |
|
Describes a shader variable. |
|
Describes a shader constant-buffer. |
|
Describes how a shader resource is bound to a shader input. |
|
Describes a register within a vertex shader declaration. |
|
Describes a vertex shader declaration. |
|
Encapsulates information about a shader. |
|
Detailed information¶
assets::ShaderAssetTag¶
engine/core/modules/assets/include/nau/assets/asset_ref.h
-
struct ShaderAssetTag¶
Temporary material asset tags.
SignatureParameterDescription¶
engine/core/modules/assets/include/nau/assets/shader.h
-
struct SignatureParameterDescription¶
Describes a parameter within a shader input layout.
See
D3D11_SIGNATURE_PARAMETER_DESC<>
.
ShaderVariableTypeDescription¶
engine/core/modules/assets/include/nau/assets/shader.h
-
struct ShaderVariableTypeDescription¶
Describes a user-defined shader variable type.
See
D3D11_SHADER_TYPE_DESC<>
.Public Members
-
ShaderVariableClass svc¶
-
ShaderVariableType svt¶
-
uint32_t rows¶
-
uint32_t columns¶
-
uint32_t elements¶
-
eastl::string name¶
-
eastl::map<eastl::string, ShaderVariableTypeDescription> members¶
A collection of members if the type is a structure (const-buffer), otherwise an empty collection.
- svc
- svt
- rows
- columns
- elements
- name
-
ShaderVariableClass svc¶
ShaderVariableDescription¶
engine/core/modules/assets/include/nau/assets/shader.h
-
struct ShaderVariableDescription¶
Describes a shader variable.
See
D3D11_SHADER_VARIABLE_DESC<>
ShaderBufferDescription¶
engine/core/modules/assets/include/nau/assets/shader.h
-
struct ShaderBufferDescription¶
Describes a shader constant-buffer.
See
D3D11_SHADER_BUFFER_DESC<>
.
ShaderInputBindDescription¶
engine/core/modules/assets/include/nau/assets/shader.h
-
struct ShaderInputBindDescription¶
Describes how a shader resource is bound to a shader input.
See
D3D11_SHADER_INPUT_BIND_DESC<>
.Public Members
-
eastl::string name¶
-
ShaderInputType type¶
-
uint32_t bindPoint¶
-
uint32_t bindCount¶
-
uint32_t flags¶
-
ResourceReturnType returnType¶
-
SrvDimension dimension¶
-
uint32_t numSamples¶
-
uint32_t space¶
-
ShaderBufferDescription bufferDesc¶
- name
- type
- bindPoint
- bindCount
- flags
- returnType
- dimension
- numSamples
- space
-
eastl::string name¶
ShaderReflection¶
engine/core/modules/assets/include/nau/assets/shader.h
-
struct ShaderReflection¶
Encapsulates shader reflection information including its input signature parameters and resource bindings.
Public Members
-
eastl::vector<SignatureParameterDescription> signatureParams¶
A collection of shader input signature parameter descriptions.
-
eastl::vector<ShaderInputBindDescription> inputBinds¶
A collection of shader resource binding descriptions.
- signatureParams
-
eastl::vector<SignatureParameterDescription> signatureParams¶
VertexShaderDeclarationRegister¶
engine/core/modules/assets/include/nau/assets/shader.h
-
struct VertexShaderDeclarationRegister¶
Describes a register within a vertex shader declaration.
VertexShaderDeclaration¶
engine/core/modules/assets/include/nau/assets/shader.h
-
struct VertexShaderDeclaration¶
Describes a vertex shader declaration.
Public Members
-
eastl::string stream¶
-
int32_t number¶
-
eastl::vector<VertexShaderDeclarationRegister> vsdReg¶
- stream
- number
-
eastl::string stream¶
Shader¶
engine/core/modules/assets/include/nau/assets/shader.h
-
struct Shader¶
Encapsulates information about a shader.
Public Members
-
eastl::string name¶
-
eastl::string srcName¶
-
ShaderTarget target¶
-
eastl::string entryPoint¶
-
eastl::vector<VertexShaderDeclaration> vsd¶
-
ShaderReflection reflection¶
-
ReadOnlyBuffer bytecode¶
- name
- srcName
- target
- entryPoint
- vsd
-
eastl::string name¶
IShaderAssetAccessor¶
engine/core/modules/assets/include/nau/assets/shader_asset_accessor.h
-
struct IShaderAssetAccessor : public nau::IAssetAccessor¶
Public Functions
- virtual IAssetAccessor Result fillShader (Shader &shader) const =0