Blender V4.3
blender::gpu::MTLContextGlobalShaderPipelineState Struct Reference

#include <mtl_context.hh>

Public Attributes

bool initialised
 
bool dirty
 
MTLPipelineStateDirtyFlag dirty_flags
 
MTLShadernull_shader
 
MTLShaderactive_shader
 
MTLUniformBufferBinding ubo_bindings [MTL_MAX_BUFFER_BINDINGS]
 
MTLStorageBufferBinding ssbo_bindings [MTL_MAX_BUFFER_BINDINGS]
 
MTLTextureBinding texture_bindings [MTL_MAX_TEXTURE_SLOTS]
 
MTLSamplerBinding sampler_bindings [MTL_MAX_SAMPLER_SLOTS]
 
MTLTextureBinding image_bindings [MTL_MAX_TEXTURE_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 num_active_viewports = 1
 
int viewport_offset_x [GPU_MAX_VIEWPORTS]
 
int viewport_offset_y [GPU_MAX_VIEWPORTS]
 
int viewport_width [GPU_MAX_VIEWPORTS]
 
int viewport_height [GPU_MAX_VIEWPORTS]
 
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
 
bool clip_distance_enabled [6] = {false}
 

Detailed Description

Definition at line 456 of file mtl_context.hh.

Member Data Documentation

◆ active_shader

◆ alpha_blend_op

MTLBlendOperation blender::gpu::MTLContextGlobalShaderPipelineState::alpha_blend_op

◆ blending_enabled

bool blender::gpu::MTLContextGlobalShaderPipelineState::blending_enabled

◆ clip_distance_enabled

bool blender::gpu::MTLContextGlobalShaderPipelineState::clip_distance_enabled[6] = {false}

◆ color_write_mask

MTLColorWriteMask blender::gpu::MTLContextGlobalShaderPipelineState::color_write_mask

◆ cull_mode

eGPUFaceCullTest blender::gpu::MTLContextGlobalShaderPipelineState::cull_mode

◆ culling_enabled

bool blender::gpu::MTLContextGlobalShaderPipelineState::culling_enabled

◆ depth_stencil_state

◆ dest_alpha_blend_factor

MTLBlendFactor blender::gpu::MTLContextGlobalShaderPipelineState::dest_alpha_blend_factor

◆ dest_rgb_blend_factor

MTLBlendFactor blender::gpu::MTLContextGlobalShaderPipelineState::dest_rgb_blend_factor

◆ dirty

bool blender::gpu::MTLContextGlobalShaderPipelineState::dirty

Definition at line 465 of file mtl_context.hh.

◆ dirty_flags

◆ front_face

eGPUFrontFace blender::gpu::MTLContextGlobalShaderPipelineState::front_face

◆ image_bindings

◆ initialised

bool blender::gpu::MTLContextGlobalShaderPipelineState::initialised

◆ line_width

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

Definition at line 528 of file mtl_context.hh.

◆ null_shader

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

Definition at line 469 of file mtl_context.hh.

◆ num_active_viewports

int blender::gpu::MTLContextGlobalShaderPipelineState::num_active_viewports = 1

◆ point_size

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

◆ rgb_blend_op

MTLBlendOperation blender::gpu::MTLContextGlobalShaderPipelineState::rgb_blend_op

◆ sampler_bindings

◆ scissor_enabled

◆ scissor_height

◆ 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

◆ src_rgb_blend_factor

MTLBlendFactor blender::gpu::MTLContextGlobalShaderPipelineState::src_rgb_blend_factor

◆ ssbo_bindings

◆ texture_bindings

◆ ubo_bindings

◆ unpack_row_length

◆ viewport_height

◆ viewport_offset_x

◆ viewport_offset_y

◆ viewport_width


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