XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALImmutableSamplerDescription Struct Reference

This describes an immutable sampler used by a graphics pipeline. More...

#include <PipelineResourceSignature.h>

Inheritance diagram for xiiGALImmutableSamplerDescription:
[legend]

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 
- Public Member Functions inherited from xiiHashableStruct< xiiGALImmutableSamplerDescription >
 xiiHashableStruct (const xiiHashableStruct< xiiGALImmutableSamplerDescription > &other)
 
void operator= (const xiiHashableStruct< xiiGALImmutableSamplerDescription > &other)
 
XII_ALWAYS_INLINE constexpr bool operator== (const xiiHashableStruct< xiiGALImmutableSamplerDescription > &rhs) const=default
 
xiiUInt32 CalculateHash () const
 Calculates the 32 bit hash of the struct and returns it.
 

Public Attributes

xiiHashedString m_SamplerOrTextureName
 The name of the sampler itself or the name of the texture variable that this immutable sampler is assigned to if combined texture samplers are used.
 
xiiBitflags< xiiGALShaderTypem_ShaderStages = xiiGALShaderType::Unknown
 The shader stages that this immutable sampler applies to. More than one shader stage can be specified. The default is xiiGALShaderType::Unknown.
 
xiiGALSamplerCreationDescription m_SamplerDescription
 The sampler creation description. See xiiGALSamplerCreationDescription for details.
 

Detailed Description

This describes an immutable sampler used by a graphics pipeline.

An immutable sampler is compiled into the pipeline state and cannot be modified. It is generally more efficient than a regular sampler and should be used whenever possible.


The documentation for this struct was generated from the following file: