vkd3d
1.14
The vkd3d 3D Graphics Library
|
Describes the mapping of a Direct3D constant buffer to a range of push constants in the target environment. More...
#include <vkd3d_shader.h>
Data Fields | |
unsigned int | register_space |
Register space of the Direct3D resource. More... | |
unsigned int | register_index |
Register index of the Direct3D resource. More... | |
enum vkd3d_shader_visibility | shader_visibility |
Shader stage(s) to which the resource is visible. More... | |
unsigned int | offset |
Offset, in bytes, of the target push constants. More... | |
unsigned int | size |
Size, in bytes, of the target push constants. More... | |
Describes the mapping of a Direct3D constant buffer to a range of push constants in the target environment.
This structure is used in struct vkd3d_shader_interface_info.
unsigned int vkd3d_shader_push_constant_buffer::offset |
Offset, in bytes, of the target push constants.
unsigned int vkd3d_shader_push_constant_buffer::register_index |
Register index of the Direct3D resource.
unsigned int vkd3d_shader_push_constant_buffer::register_space |
Register space of the Direct3D resource.
If the source format does not support multiple register spaces, this parameter must be set to 0.
enum vkd3d_shader_visibility vkd3d_shader_push_constant_buffer::shader_visibility |
Shader stage(s) to which the resource is visible.
unsigned int vkd3d_shader_push_constant_buffer::size |
Size, in bytes, of the target push constants.