wisdom
Loading...
Searching...
No Matches
wis::ShaderResourceDesc Struct Reference

Detailed Description

Shader resource description for .

wis::DataFormat format;
wis::ComponentMapping component_mapping;
wis::SubresourceRange subresource_range;
};
TextureViewType
Texture view type.
Definition api.hpp:1198
DataFormat
Data format for data. Used as a template for data in several cases. Can be used to describe:
Definition api.hpp:310
Component mapping for wis::ShaderResourceDesc.
Definition api.hpp:2010
Shader resource description for .
Definition api.hpp:2024
Subresource range for wis::TextureBarrier.
Definition api.hpp:1861

Definition at line 2024 of file api.hpp.

#include <api.hpp>

Public Attributes

wis::DataFormat format
 Resource format.
 
wis::TextureViewType view_type
 Resource view type.
 
wis::ComponentMapping component_mapping
 Component mapping.
 
wis::SubresourceRange subresource_range
 Subresource range of the resource.
 

Data Members

◆ component_mapping

wis::ComponentMapping wis::ShaderResourceDesc::component_mapping

Component mapping.

Definition at line 2027 of file api.hpp.

◆ format

wis::DataFormat wis::ShaderResourceDesc::format

Resource format.

Definition at line 2025 of file api.hpp.

◆ subresource_range

wis::SubresourceRange wis::ShaderResourceDesc::subresource_range

Subresource range of the resource.

Definition at line 2028 of file api.hpp.

◆ view_type

wis::TextureViewType wis::ShaderResourceDesc::view_type

Resource view type.

Definition at line 2026 of file api.hpp.


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