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

#include <mtl_context.hh>

Public Attributes

bool dirty = true
MTLPipelineStateDirtyFlag dirty_flags = MTL_PIPELINE_STATE_NULL_FLAG
MTLShader * active_shader = nullptr
std::array< MTLUniformBufferBinding, MTL_MAX_UBO > ubo_bindings = {}
std::array< MTLStorageBufferBinding, MTL_MAX_SSBO > ssbo_bindings = {}
std::array< MTLAccelerationStructureBinding, 1 > acceleration_structure_bindings = {}
std::array< MTLTextureBinding, MTL_MAX_SAMPLER_SLOTS > texture_bindings = {}
std::array< MTLSamplerBinding, MTL_MAX_SAMPLER_SLOTS > sampler_bindings = {}
std::array< MTLTextureBinding, MTL_MAX_IMAGE_SLOTS > image_bindings = {}
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
GPUFaceCullTest cull_mode
GPUFrontFace 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
float point_size = 1.0f
float line_width = 1.0f
bool clip_distance_enabled [6] = {false}

Detailed Description

Definition at line 381 of file mtl_context.hh.

Member Data Documentation

◆ acceleration_structure_bindings

std::array<MTLAccelerationStructureBinding, 1> blender::gpu::MTLContextGlobalShaderPipelineState::acceleration_structure_bindings = {}

◆ 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

GPUFaceCullTest blender::gpu::MTLContextGlobalShaderPipelineState::cull_mode

◆ culling_enabled

bool blender::gpu::MTLContextGlobalShaderPipelineState::culling_enabled

◆ depth_stencil_state

MTLContextDepthStencilState blender::gpu::MTLContextGlobalShaderPipelineState::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 388 of file mtl_context.hh.

◆ dirty_flags

◆ front_face

GPUFrontFace blender::gpu::MTLContextGlobalShaderPipelineState::front_face

◆ image_bindings

◆ line_width

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

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

std::array<MTLSamplerBinding, MTL_MAX_SAMPLER_SLOTS> blender::gpu::MTLContextGlobalShaderPipelineState::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

◆ 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: