wisdom
Loading...
Searching...
No Matches
WisRootSignatureDesc Struct Reference

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
typedef struct WisRootSignatureDesc {
const WisPushConstant* push_constants;
size_t push_constant_count;
const WisPushDescriptor* push_descriptors;
size_t push_descriptor_count;
const WisDescriptorTable* descriptor_tables;
size_t descriptor_table_count;

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
struct RootSignatureDesc {
wis::span<const wis::PushConstant> push_constants;
wis::span<const wis::PushDescriptor> push_descriptors;
wis::span<const wis::DescriptorTable> descriptor_tables;
};
}

Members


  • push_constants points to an array of push constants that defines global shader push data.
  • push_constant_count describes the number of the number of push constants in the WisRootSignatureDesc::push_constants array.
  • push_descriptors points to an array of WisPushDescriptor.
  • push_descriptor_count specifies the number of the number of push descriptors in the WisRootSignatureDesc::push_descriptors array.
  • descriptor_tables points to an array of WisDescriptorTable.
  • descriptor_table_count specifies the number of the number of descriptor tables in the WisRootSignatureDesc::descriptor_tables array.

Description


See Also


See also
Functions: wisDeviceCreateRootSignature