Blender V4.3
blender::gpu::tests::ShaderSpecializationConst Struct Reference

Public Member Functions

 ShaderSpecializationConst (const char *info_name)
 
 ~ShaderSpecializationConst ()
 
void init_shader (const char *info_name)
 
void validate ()
 

Public Attributes

GPUShadershader = nullptr
 
GPUStorageBuf * ssbo = nullptr
 
Vector< intdata
 
float float_in
 
uint uint_in
 
int int_in
 
bool bool_in
 
bool is_graphic = false
 

Detailed Description

Definition at line 25 of file specialization_constants_test.cc.

Constructor & Destructor Documentation

◆ ShaderSpecializationConst()

◆ ~ShaderSpecializationConst()

blender::gpu::tests::ShaderSpecializationConst::~ShaderSpecializationConst ( )
inline

Member Function Documentation

◆ init_shader()

◆ validate()

Member Data Documentation

◆ bool_in

bool blender::gpu::tests::ShaderSpecializationConst::bool_in

Definition at line 33 of file specialization_constants_test.cc.

Referenced by ShaderSpecializationConst(), and validate().

◆ data

Vector<int> blender::gpu::tests::ShaderSpecializationConst::data

Definition at line 28 of file specialization_constants_test.cc.

◆ float_in

float blender::gpu::tests::ShaderSpecializationConst::float_in

Definition at line 30 of file specialization_constants_test.cc.

Referenced by ShaderSpecializationConst(), and validate().

◆ int_in

int blender::gpu::tests::ShaderSpecializationConst::int_in

Definition at line 32 of file specialization_constants_test.cc.

Referenced by ShaderSpecializationConst(), and validate().

◆ is_graphic

bool blender::gpu::tests::ShaderSpecializationConst::is_graphic = false

Definition at line 35 of file specialization_constants_test.cc.

Referenced by init_shader(), and validate().

◆ shader

GPUShader* blender::gpu::tests::ShaderSpecializationConst::shader = nullptr

Definition at line 26 of file specialization_constants_test.cc.

◆ ssbo

GPUStorageBuf* blender::gpu::tests::ShaderSpecializationConst::ssbo = nullptr

◆ uint_in

uint blender::gpu::tests::ShaderSpecializationConst::uint_in

Definition at line 31 of file specialization_constants_test.cc.

Referenced by ShaderSpecializationConst(), and validate().


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