Struct InputBindingInfo::ShaderBinding

Nested Relationships

This struct is a nested type of Class InputBindingInfo.

Struct Documentation

struct ShaderBinding

This struct represents shader binding. @detail For DX this binding information is different from DescriptorBinding which represents the position inside a DescriptorHeap/DescriptorSet. For Vulkan this is the same as DescriptorBinding.

Public Members

uint32_t registerIndex = {0}

DX shader variable register index.

uint32_t registerType = {0}

DX shader variable register index.

uint32_t spaceIndex = {0}

DX shader variable space index.

uint32_t arrayIndex = {0}

The array index within the bind slot at bind index.