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

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
WisQueryPropertyType property_type;
void* next_in_chain;
uint32_t max_vertex_input_attributes;
uint32_t max_vertex_input_bindings;
bool multiple_viewports_supported;
bool address_commands_supported;

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
struct DeviceBindingProperties {
wis::QueryPropertyType property_type;
void* next_in_chain;
std::uint32_t max_vertex_input_attributes;
std::uint32_t max_vertex_input_bindings;
bool multiple_viewports_supported;
bool address_commands_supported;
};
}

Members


  • property_type specifies the type of the queried property. Used to determine what struct is passed. must be WisQueryPropertyTypeDeviceBindingProperties.
  • next_in_chain indicates pointer to the next queried data struct.
  • max_vertex_input_attributes defines maximum number of vertex input attributes supported by the device. Used for vertex buffer bindings.
  • max_vertex_input_bindings indicates maximum number of vertex input bindings supported by the device. Used for vertex buffer bindings.
  • multiple_viewports_supported indicates if multiple viewports are supported. If true, the device supports up to 16 viewports and scissor rectangles. If false, only one viewport and scissor rectangle is supported.
  • address_commands_supported indicates if commands with buffer addresses are supported. If true, the device supports commands that take buffer addresses directly, such as wisCommandListSetVertexBuffers2.

Description


See Also