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

#include <mtl_context.hh>

Public Attributes

bool initialised = false
bool dirty = true
MTLPipelineStateDirtyFlag dirty_flags = MTL_PIPELINE_STATE_NULL_FLAG
MTLShadernull_shader = nullptr
MTLShaderactive_shader = nullptr
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 454 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 = true

Definition at line 463 of file mtl_context.hh.

◆ dirty_flags

◆ front_face

eGPUFrontFace blender::gpu::MTLContextGlobalShaderPipelineState::front_face

◆ image_bindings

◆ initialised

bool blender::gpu::MTLContextGlobalShaderPipelineState::initialised = false

◆ line_width

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

Definition at line 526 of file mtl_context.hh.

◆ null_shader

MTLShader* blender::gpu::MTLContextGlobalShaderPipelineState::null_shader = nullptr

Definition at line 467 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

int blender::gpu::MTLContextGlobalShaderPipelineState::viewport_height[GPU_MAX_VIEWPORTS]

◆ viewport_offset_x

int blender::gpu::MTLContextGlobalShaderPipelineState::viewport_offset_x[GPU_MAX_VIEWPORTS]

◆ viewport_offset_y

int blender::gpu::MTLContextGlobalShaderPipelineState::viewport_offset_y[GPU_MAX_VIEWPORTS]

◆ viewport_width

int blender::gpu::MTLContextGlobalShaderPipelineState::viewport_width[GPU_MAX_VIEWPORTS]

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