|
Blender V5.3
|
Description of a graphical pipeline to pre-compile during shader creation. More...
#include <gpu_shader_create_info_pipeline.hh>
Public Types | |
| using | Self = PipelineState |
Public Member Functions | |
| Self & | state (GPUWriteMask write_mask, GPUBlend blend, GPUFaceCullTest culling_test, GPUDepthTest depth_test, GPUStencilTest stencil_test, GPUStencilOp stencil_op, GPUProvokingVertex provoking_vert) |
| Self & | primitive (GPUPrimType primitive_type) |
| Self & | viewports (uint32_t viewport_count) |
| Self & | add_specialization_constant (SpecializationConstant::Value specialization_constant) |
| Self & | depth_format (TextureTargetFormat depth_format) |
| Self & | stencil_format (TextureTargetFormat stencil_format) |
| Self & | color_format (TextureTargetFormat color_format) |
Description of a graphical pipeline to pre-compile during shader creation.
Definition at line 21 of file gpu_shader_create_info_pipeline.hh.
Definition at line 33 of file gpu_shader_create_info_pipeline.hh.
|
inline |
Definition at line 65 of file gpu_shader_create_info_pipeline.hh.
References specialization_constant, and specialization_constants_.
|
inline |
Definition at line 85 of file gpu_shader_create_info_pipeline.hh.
References blender::BLI_assert(), color_format(), color_formats_, blender::gpu::GPU_FORMAT_DEPTH, blender::gpu::GPU_FORMAT_STENCIL, blender::gpu::to_format_flag(), and blender::gpu::to_texture_format().
Referenced by color_format(), and blender::gpu::tests::test_shader_create_info_pipeline().
|
inline |
Definition at line 71 of file gpu_shader_create_info_pipeline.hh.
References blender::BLI_assert(), depth_format(), depth_format_, blender::gpu::GPU_FORMAT_DEPTH, blender::gpu::to_format_flag(), and blender::gpu::to_texture_format().
Referenced by depth_format().
|
inline |
Definition at line 53 of file gpu_shader_create_info_pipeline.hh.
References primitive_.
Referenced by blender::gpu::tests::test_shader_create_info_pipeline().
|
inline |
Definition at line 35 of file gpu_shader_create_info_pipeline.hh.
References state_.
Referenced by blender::gpu::tests::test_shader_create_info_pipeline().
|
inline |
Definition at line 78 of file gpu_shader_create_info_pipeline.hh.
References blender::BLI_assert(), blender::gpu::GPU_FORMAT_STENCIL, stencil_format(), stencil_format_, blender::gpu::to_format_flag(), and blender::gpu::to_texture_format().
Referenced by stencil_format().
Definition at line 59 of file gpu_shader_create_info_pipeline.hh.
References viewport_count_.
Referenced by blender::gpu::tests::test_shader_create_info_pipeline().
| Vector<TextureTargetFormat> blender::gpu::shader::PipelineState::color_formats_ |
Definition at line 31 of file gpu_shader_create_info_pipeline.hh.
Referenced by color_format().
| TextureTargetFormat blender::gpu::shader::PipelineState::depth_format_ |
Definition at line 29 of file gpu_shader_create_info_pipeline.hh.
Referenced by depth_format().
| GPUPrimType blender::gpu::shader::PipelineState::primitive_ |
Definition at line 24 of file gpu_shader_create_info_pipeline.hh.
Referenced by primitive().
| Vector<SpecializationConstant::Value> blender::gpu::shader::PipelineState::specialization_constants_ |
Definition at line 22 of file gpu_shader_create_info_pipeline.hh.
Referenced by add_specialization_constant().
| GPUState blender::gpu::shader::PipelineState::state_ = {{GPU_WRITE_COLOR}} |
Definition at line 26 of file gpu_shader_create_info_pipeline.hh.
Referenced by state().
| TextureTargetFormat blender::gpu::shader::PipelineState::stencil_format_ |
Definition at line 30 of file gpu_shader_create_info_pipeline.hh.
Referenced by stencil_format().
| uint32_t blender::gpu::shader::PipelineState::viewport_count_ |
Definition at line 27 of file gpu_shader_create_info_pipeline.hh.
Referenced by viewports().