vkd3d  1.14
The vkd3d 3D Graphics Library
Data Fields
vkd3d_shader_combined_resource_sampler Struct Reference

Describes the mapping of a Direct3D resource-sampler pair to a combined sampler (i.e. More...

#include <vkd3d_shader.h>

Data Fields

unsigned int resource_space
 Register space of the Direct3D resource. More...
 
unsigned int resource_index
 Register index of the Direct3D resource. More...
 
unsigned int sampler_space
 Register space of the Direct3D sampler. More...
 
unsigned int sampler_index
 Register index of the Direct3D sampler. More...
 
enum vkd3d_shader_visibility shader_visibility
 Shader stage(s) to which the resource is visible. More...
 
unsigned int flags
 A combination of zero or more elements of vkd3d_shader_binding_flag. More...
 
struct vkd3d_shader_descriptor_binding binding
 The binding in the target environment. More...
 

Detailed Description

Describes the mapping of a Direct3D resource-sampler pair to a combined sampler (i.e.

sampled image).

This structure is used in struct vkd3d_shader_interface_info.

Field Documentation

◆ binding

struct vkd3d_shader_descriptor_binding vkd3d_shader_combined_resource_sampler::binding

The binding in the target environment.

◆ flags

unsigned int vkd3d_shader_combined_resource_sampler::flags

A combination of zero or more elements of vkd3d_shader_binding_flag.

◆ resource_index

unsigned int vkd3d_shader_combined_resource_sampler::resource_index

Register index of the Direct3D resource.

◆ resource_space

unsigned int vkd3d_shader_combined_resource_sampler::resource_space

Register space of the Direct3D resource.

If the source format does not support multiple register spaces, this parameter must be set to 0.

◆ sampler_index

unsigned int vkd3d_shader_combined_resource_sampler::sampler_index

Register index of the Direct3D sampler.

◆ sampler_space

unsigned int vkd3d_shader_combined_resource_sampler::sampler_space

Register space of the Direct3D sampler.

If the source format does not support multiple register spaces, this parameter must be set to 0.

◆ shader_visibility

enum vkd3d_shader_visibility vkd3d_shader_combined_resource_sampler::shader_visibility

Shader stage(s) to which the resource is visible.


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