Blender
V3.3
|
#include <mtl_context.hh>
Public Attributes | |
bool | initialised |
bool | dirty |
MTLPipelineStateDirtyFlag | dirty_flags |
MTLShader * | null_shader |
MTLShader * | active_shader |
MTLUniformBufferBinding | ubo_bindings [MTL_MAX_UNIFORM_BUFFER_BINDINGS] |
MTLTextureBinding | texture_bindings [MTL_MAX_TEXTURE_SLOTS] |
MTLSamplerBinding | sampler_bindings [MTL_MAX_SAMPLER_SLOTS] |
MTLColorWriteMask | color_write_mask |
bool | blending_enabled |
MTLBlendOperation | alpha_blend_op |
MTLBlendOperation | rgb_blend_op |
MTLBlendFactor | dest_alpha_blend_factor |
MTLBlendFactor | dest_rgb_blend_factor |
MTLBlendFactor | src_alpha_blend_factor |
MTLBlendFactor | src_rgb_blend_factor |
bool | culling_enabled |
eGPUFaceCullTest | cull_mode |
eGPUFrontFace | front_face |
MTLContextDepthStencilState | depth_stencil_state |
int | viewport_offset_x |
int | viewport_offset_y |
int | viewport_width |
int | viewport_height |
bool | scissor_enabled |
int | scissor_x |
int | scissor_y |
int | scissor_width |
int | scissor_height |
uint | unpack_row_length |
float | point_size = 1.0f |
float | line_width = 1.0f |
Definition at line 385 of file mtl_context.hh.
MTLShader* blender::gpu::MTLContextGlobalShaderPipelineState::active_shader |
Definition at line 401 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init().
MTLBlendOperation blender::gpu::MTLContextGlobalShaderPipelineState::alpha_blend_op |
Definition at line 419 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init().
bool blender::gpu::MTLContextGlobalShaderPipelineState::blending_enabled |
Definition at line 418 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init().
MTLColorWriteMask blender::gpu::MTLContextGlobalShaderPipelineState::color_write_mask |
Definition at line 417 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init().
eGPUFaceCullTest blender::gpu::MTLContextGlobalShaderPipelineState::cull_mode |
Definition at line 428 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init().
bool blender::gpu::MTLContextGlobalShaderPipelineState::culling_enabled |
Definition at line 427 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init().
MTLContextDepthStencilState blender::gpu::MTLContextGlobalShaderPipelineState::depth_stencil_state |
Definition at line 432 of file mtl_context.hh.
Referenced by blender::gpu::mtl_stencil_set_op_separate(), and blender::gpu::MTLContext::pipeline_state_init().
MTLBlendFactor blender::gpu::MTLContextGlobalShaderPipelineState::dest_alpha_blend_factor |
Definition at line 421 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init().
MTLBlendFactor blender::gpu::MTLContextGlobalShaderPipelineState::dest_rgb_blend_factor |
Definition at line 422 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init().
bool blender::gpu::MTLContextGlobalShaderPipelineState::dirty |
Definition at line 394 of file mtl_context.hh.
MTLPipelineStateDirtyFlag blender::gpu::MTLContextGlobalShaderPipelineState::dirty_flags |
eGPUFrontFace blender::gpu::MTLContextGlobalShaderPipelineState::front_face |
Definition at line 429 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init().
bool blender::gpu::MTLContextGlobalShaderPipelineState::initialised |
Definition at line 386 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init().
float blender::gpu::MTLContextGlobalShaderPipelineState::line_width = 1.0f |
Definition at line 450 of file mtl_context.hh.
MTLShader* blender::gpu::MTLContextGlobalShaderPipelineState::null_shader |
Definition at line 398 of file mtl_context.hh.
float blender::gpu::MTLContextGlobalShaderPipelineState::point_size = 1.0f |
Definition at line 449 of file mtl_context.hh.
MTLBlendOperation blender::gpu::MTLContextGlobalShaderPipelineState::rgb_blend_op |
Definition at line 420 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init().
MTLSamplerBinding blender::gpu::MTLContextGlobalShaderPipelineState::sampler_bindings[MTL_MAX_SAMPLER_SLOTS] |
Definition at line 408 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init(), and blender::gpu::MTLContext::sampler_bind().
bool blender::gpu::MTLContextGlobalShaderPipelineState::scissor_enabled |
Definition at line 439 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init(), blender::gpu::MTLContext::set_scissor(), and blender::gpu::MTLContext::set_scissor_enabled().
int blender::gpu::MTLContextGlobalShaderPipelineState::scissor_height |
Definition at line 443 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init(), blender::gpu::MTLContext::set_scissor(), and blender::gpu::MTLContext::set_scissor_enabled().
int blender::gpu::MTLContextGlobalShaderPipelineState::scissor_width |
Definition at line 442 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init(), blender::gpu::MTLContext::set_scissor(), and blender::gpu::MTLContext::set_scissor_enabled().
int blender::gpu::MTLContextGlobalShaderPipelineState::scissor_x |
Definition at line 440 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init(), and blender::gpu::MTLContext::set_scissor().
int blender::gpu::MTLContextGlobalShaderPipelineState::scissor_y |
Definition at line 441 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init(), and blender::gpu::MTLContext::set_scissor().
MTLBlendFactor blender::gpu::MTLContextGlobalShaderPipelineState::src_alpha_blend_factor |
Definition at line 423 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init().
MTLBlendFactor blender::gpu::MTLContextGlobalShaderPipelineState::src_rgb_blend_factor |
Definition at line 424 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init().
MTLTextureBinding blender::gpu::MTLContextGlobalShaderPipelineState::texture_bindings[MTL_MAX_TEXTURE_SLOTS] |
Definition at line 407 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init(), blender::gpu::MTLContext::texture_bind(), blender::gpu::MTLContext::texture_unbind(), and blender::gpu::MTLContext::texture_unbind_all().
MTLUniformBufferBinding blender::gpu::MTLContextGlobalShaderPipelineState::ubo_bindings[MTL_MAX_UNIFORM_BUFFER_BINDINGS] |
Definition at line 404 of file mtl_context.hh.
Referenced by blender::gpu::MTLUniformBuf::bind(), blender::gpu::MTLContext::pipeline_state_init(), blender::gpu::MTLUniformBuf::unbind(), and blender::gpu::MTLUniformBuf::~MTLUniformBuf().
uint blender::gpu::MTLContextGlobalShaderPipelineState::unpack_row_length |
Definition at line 446 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init(), blender::gpu::MTLStateManager::texture_unpack_row_length_set(), and blender::gpu::MTLTexture::update_sub().
int blender::gpu::MTLContextGlobalShaderPipelineState::viewport_height |
Definition at line 438 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init(), and blender::gpu::MTLContext::set_viewport().
int blender::gpu::MTLContextGlobalShaderPipelineState::viewport_offset_x |
Definition at line 435 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init(), and blender::gpu::MTLContext::set_viewport().
int blender::gpu::MTLContextGlobalShaderPipelineState::viewport_offset_y |
Definition at line 436 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init(), and blender::gpu::MTLContext::set_viewport().
int blender::gpu::MTLContextGlobalShaderPipelineState::viewport_width |
Definition at line 437 of file mtl_context.hh.
Referenced by blender::gpu::MTLContext::pipeline_state_init(), and blender::gpu::MTLContext::set_viewport().