Blender  V3.3
Public Attributes | List of all members
blender::gpu::MTLContextGlobalShaderPipelineState Struct Reference

#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
 

Detailed Description

Definition at line 385 of file mtl_context.hh.

Member Data Documentation

◆ active_shader

MTLShader* blender::gpu::MTLContextGlobalShaderPipelineState::active_shader

Definition at line 401 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ alpha_blend_op

MTLBlendOperation blender::gpu::MTLContextGlobalShaderPipelineState::alpha_blend_op

Definition at line 419 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ blending_enabled

bool blender::gpu::MTLContextGlobalShaderPipelineState::blending_enabled

Definition at line 418 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ color_write_mask

MTLColorWriteMask blender::gpu::MTLContextGlobalShaderPipelineState::color_write_mask

Definition at line 417 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ cull_mode

eGPUFaceCullTest blender::gpu::MTLContextGlobalShaderPipelineState::cull_mode

Definition at line 428 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ culling_enabled

bool blender::gpu::MTLContextGlobalShaderPipelineState::culling_enabled

Definition at line 427 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ depth_stencil_state

MTLContextDepthStencilState blender::gpu::MTLContextGlobalShaderPipelineState::depth_stencil_state

◆ dest_alpha_blend_factor

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().

◆ dest_rgb_blend_factor

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().

◆ dirty

bool blender::gpu::MTLContextGlobalShaderPipelineState::dirty

Definition at line 394 of file mtl_context.hh.

◆ dirty_flags

MTLPipelineStateDirtyFlag blender::gpu::MTLContextGlobalShaderPipelineState::dirty_flags

◆ front_face

eGPUFrontFace blender::gpu::MTLContextGlobalShaderPipelineState::front_face

Definition at line 429 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ initialised

bool blender::gpu::MTLContextGlobalShaderPipelineState::initialised

Definition at line 386 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ line_width

float blender::gpu::MTLContextGlobalShaderPipelineState::line_width = 1.0f

Definition at line 450 of file mtl_context.hh.

◆ null_shader

MTLShader* blender::gpu::MTLContextGlobalShaderPipelineState::null_shader

Definition at line 398 of file mtl_context.hh.

◆ point_size

float blender::gpu::MTLContextGlobalShaderPipelineState::point_size = 1.0f

Definition at line 449 of file mtl_context.hh.

◆ rgb_blend_op

MTLBlendOperation blender::gpu::MTLContextGlobalShaderPipelineState::rgb_blend_op

Definition at line 420 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ sampler_bindings

MTLSamplerBinding blender::gpu::MTLContextGlobalShaderPipelineState::sampler_bindings[MTL_MAX_SAMPLER_SLOTS]

◆ scissor_enabled

bool blender::gpu::MTLContextGlobalShaderPipelineState::scissor_enabled

◆ scissor_height

int blender::gpu::MTLContextGlobalShaderPipelineState::scissor_height

◆ scissor_width

int blender::gpu::MTLContextGlobalShaderPipelineState::scissor_width

◆ scissor_x

int blender::gpu::MTLContextGlobalShaderPipelineState::scissor_x

◆ scissor_y

int blender::gpu::MTLContextGlobalShaderPipelineState::scissor_y

◆ src_alpha_blend_factor

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().

◆ src_rgb_blend_factor

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().

◆ texture_bindings

MTLTextureBinding blender::gpu::MTLContextGlobalShaderPipelineState::texture_bindings[MTL_MAX_TEXTURE_SLOTS]

◆ ubo_bindings

MTLUniformBufferBinding blender::gpu::MTLContextGlobalShaderPipelineState::ubo_bindings[MTL_MAX_UNIFORM_BUFFER_BINDINGS]

◆ unpack_row_length

uint blender::gpu::MTLContextGlobalShaderPipelineState::unpack_row_length

◆ viewport_height

int blender::gpu::MTLContextGlobalShaderPipelineState::viewport_height

◆ viewport_offset_x

int blender::gpu::MTLContextGlobalShaderPipelineState::viewport_offset_x

◆ viewport_offset_y

int blender::gpu::MTLContextGlobalShaderPipelineState::viewport_offset_y

◆ viewport_width

int blender::gpu::MTLContextGlobalShaderPipelineState::viewport_width

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