Blender V5.0
blender::gpu::tests::ShaderSpecializationConst Struct Reference

Public Member Functions

 ShaderSpecializationConst (const char *info_name)
 ~ShaderSpecializationConst ()
void init_shader (const char *info_name)
void validate (shader::SpecializationConstants &constants)

Public Attributes

gpu::Shadershader = nullptr
StorageBufssbo = nullptr
Vector< int > data
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.

Referenced by init_shader(), and validate().

◆ 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

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

◆ ssbo

StorageBuf* 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: