Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::ShaderResourceDesc Struct Reference

Shader resource description. More...

#include <Shader.h>

Inheritance diagram for Diligent::ShaderResourceDesc:
Diligent::HLSLShaderResourceDesc

Public Member Functions

bool operator== (const ShaderResourceDesc &RHS) const noexcept
 Comparison operator tests if two structures are equivalent.
 

Public Attributes

const Char * Name = nullptr
 Shader resource name.
 
SHADER_RESOURCE_TYPE Type = SHADER_RESOURCE_TYPE_UNKNOWN
 Shader resource type, see Diligent::SHADER_RESOURCE_TYPE.
 
Uint32 ArraySize = 0
 Array size. For non-array resource this value is 1.
 

Detailed Description

Shader resource description.

Member Function Documentation

◆ operator==()

bool Diligent::ShaderResourceDesc::operator== ( const ShaderResourceDesc & RHS) const
inlinenoexcept

Comparison operator tests if two structures are equivalent.

Parameters
[in]RHS- reference to the structure to perform comparison with
Returns
  • True if all members of the two structures are equal.
  • False otherwise.