ReactOS 0.4.17-dev-934-g091855f
vkd3d_shader_hlsl_source_info Struct Reference

#include <vkd3d_shader.h>

Collaboration diagram for vkd3d_shader_hlsl_source_info:

Public Attributes

enum vkd3d_shader_structure_type type
 
const void * next
 
const char * entry_point
 
struct vkd3d_shader_code secondary_code
 
const char * profile
 

Detailed Description

A chained structure containing HLSL compilation parameters.

This structure is optional.

This structure extends vkd3d_shader_compile_info.

This structure contains only input parameters.

Since
1.3

Definition at line 1552 of file vkd3d_shader.h.

Member Data Documentation

◆ entry_point

const char* vkd3d_shader_hlsl_source_info::entry_point

Optional pointer to a null-terminated string containing the shader entry point.

If this parameter is NULL, vkd3d-shader uses the entry point "main".

Definition at line 1565 of file vkd3d_shader.h.

Referenced by compile_hlsl_cs(), D3DCompile2(), and hlsl_compile_shader().

◆ next

const void* vkd3d_shader_hlsl_source_info::next

Optional pointer to a structure containing further parameters.

Definition at line 1557 of file vkd3d_shader.h.

Referenced by compile_hlsl_cs(), and D3DCompile2().

◆ profile

const char* vkd3d_shader_hlsl_source_info::profile

Pointer to a null-terminated string containing the target shader profile.

Definition at line 1571 of file vkd3d_shader.h.

Referenced by compile_hlsl_cs(), compile_hlsl_shader(), D3DCompile2(), fill_shader_dump_data(), and hlsl_compile_shader().

◆ secondary_code

struct vkd3d_shader_code vkd3d_shader_hlsl_source_info::secondary_code

Definition at line 1566 of file vkd3d_shader.h.

Referenced by compile_hlsl_cs(), and D3DCompile2().

◆ type

enum vkd3d_shader_structure_type vkd3d_shader_hlsl_source_info::type

Must be set to VKD3D_SHADER_STRUCTURE_TYPE_HLSL_SOURCE_INFO.

Definition at line 1555 of file vkd3d_shader.h.

Referenced by compile_hlsl_cs(), compile_hlsl_shader(), and D3DCompile2().


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