#include <draw_command.hh>
|
| | SpecializeConstant ()=default |
| | SpecializeConstant (GPUShader *sh, int loc, const float &val) |
| | SpecializeConstant (GPUShader *sh, int loc, const int &val) |
| | SpecializeConstant (GPUShader *sh, int loc, const uint &val) |
| | SpecializeConstant (GPUShader *sh, int loc, const bool &val) |
| | SpecializeConstant (GPUShader *sh, int loc, const float *val) |
| | SpecializeConstant (GPUShader *sh, int loc, const int *val) |
| | SpecializeConstant (GPUShader *sh, int loc, const uint *val) |
| | SpecializeConstant (GPUShader *sh, int loc, const bool *val) |
| void | execute (RecordingState &state) const |
| std::string | serialize () const |
Definition at line 314 of file draw_command.hh.
◆ Type
| Enumerator |
|---|
| IntValue | |
| UintValue | |
| FloatValue | |
| BoolValue | |
| IntReference | |
| UintReference | |
| FloatReference | |
| BoolReference | |
Definition at line 331 of file draw_command.hh.
◆ SpecializeConstant() [1/9]
| blender::draw::command::SpecializeConstant::SpecializeConstant |
( |
| ) |
|
|
default |
◆ SpecializeConstant() [2/9]
| blender::draw::command::SpecializeConstant::SpecializeConstant |
( |
GPUShader * | sh, |
|
|
int | loc, |
|
|
const float & | val ) |
|
inline |
◆ SpecializeConstant() [3/9]
| blender::draw::command::SpecializeConstant::SpecializeConstant |
( |
GPUShader * | sh, |
|
|
int | loc, |
|
|
const int & | val ) |
|
inline |
◆ SpecializeConstant() [4/9]
| blender::draw::command::SpecializeConstant::SpecializeConstant |
( |
GPUShader * | sh, |
|
|
int | loc, |
|
|
const uint & | val ) |
|
inline |
◆ SpecializeConstant() [5/9]
| blender::draw::command::SpecializeConstant::SpecializeConstant |
( |
GPUShader * | sh, |
|
|
int | loc, |
|
|
const bool & | val ) |
|
inline |
◆ SpecializeConstant() [6/9]
| blender::draw::command::SpecializeConstant::SpecializeConstant |
( |
GPUShader * | sh, |
|
|
int | loc, |
|
|
const float * | val ) |
|
inline |
◆ SpecializeConstant() [7/9]
| blender::draw::command::SpecializeConstant::SpecializeConstant |
( |
GPUShader * | sh, |
|
|
int | loc, |
|
|
const int * | val ) |
|
inline |
◆ SpecializeConstant() [8/9]
| blender::draw::command::SpecializeConstant::SpecializeConstant |
( |
GPUShader * | sh, |
|
|
int | loc, |
|
|
const uint * | val ) |
|
inline |
◆ SpecializeConstant() [9/9]
| blender::draw::command::SpecializeConstant::SpecializeConstant |
( |
GPUShader * | sh, |
|
|
int | loc, |
|
|
const bool * | val ) |
|
inline |
◆ execute()
Definition at line 136 of file draw_command.cc.
References BLI_assert, BoolReference, BoolValue, FloatReference, FloatValue, GPU_shader_get_default_constant_state(), IntReference, IntValue, location, shader, state, type, UintReference, and UintValue.
◆ serialize()
| std::string blender::draw::command::SpecializeConstant::serialize |
( |
| ) |
const |
◆ @063264116267237242061077147101124341242331114306
◆ location
| int blender::draw::command::SpecializeConstant::location |
◆ shader
| GPUShader* blender::draw::command::SpecializeConstant::shader |
◆ type
The documentation for this struct was generated from the following files: