Blender V5.0
blender::gpu::MTLRenderPipelineStateDescriptor Struct Reference

#include <mtl_pso_descriptor_state.hh>

Public Member Functions

bool operator== (const MTLRenderPipelineStateDescriptor &other) const
uint64_t hash () const
void reset_vertex_descriptor ()

Public Attributes

MTLVertexDescriptor vertex_descriptor
int num_color_attachments
MTLPixelFormat color_attachment_format [GPU_FB_MAX_COLOR_ATTACHMENT]
MTLPixelFormat depth_attachment_format
MTLPixelFormat stencil_attachment_format
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
MTLColorWriteMask color_write_mask
uchar clipping_plane_enable_mask = 0
float point_size = 0.0f
SpecializationStateDescriptor specialization_state

Detailed Description

Definition at line 160 of file mtl_pso_descriptor_state.hh.

Member Function Documentation

◆ hash()

◆ operator==()

◆ reset_vertex_descriptor()

void blender::gpu::MTLRenderPipelineStateDescriptor::reset_vertex_descriptor ( )
inline

Definition at line 287 of file mtl_pso_descriptor_state.hh.

References GPU_VERT_ATTR_MAX_LEN, i, and vertex_descriptor.

Referenced by blender::gpu::MTLImmediate::end().

Member Data Documentation

◆ alpha_blend_op

MTLBlendOperation blender::gpu::MTLRenderPipelineStateDescriptor::alpha_blend_op

◆ blending_enabled

bool blender::gpu::MTLRenderPipelineStateDescriptor::blending_enabled

◆ clipping_plane_enable_mask

uchar blender::gpu::MTLRenderPipelineStateDescriptor::clipping_plane_enable_mask = 0

◆ color_attachment_format

MTLPixelFormat blender::gpu::MTLRenderPipelineStateDescriptor::color_attachment_format[GPU_FB_MAX_COLOR_ATTACHMENT]

◆ color_write_mask

MTLColorWriteMask blender::gpu::MTLRenderPipelineStateDescriptor::color_write_mask

◆ depth_attachment_format

MTLPixelFormat blender::gpu::MTLRenderPipelineStateDescriptor::depth_attachment_format

◆ dest_alpha_blend_factor

MTLBlendFactor blender::gpu::MTLRenderPipelineStateDescriptor::dest_alpha_blend_factor

◆ dest_rgb_blend_factor

MTLBlendFactor blender::gpu::MTLRenderPipelineStateDescriptor::dest_rgb_blend_factor

◆ num_color_attachments

int blender::gpu::MTLRenderPipelineStateDescriptor::num_color_attachments

◆ point_size

float blender::gpu::MTLRenderPipelineStateDescriptor::point_size = 0.0f

◆ rgb_blend_op

MTLBlendOperation blender::gpu::MTLRenderPipelineStateDescriptor::rgb_blend_op

◆ specialization_state

SpecializationStateDescriptor blender::gpu::MTLRenderPipelineStateDescriptor::specialization_state

◆ src_alpha_blend_factor

MTLBlendFactor blender::gpu::MTLRenderPipelineStateDescriptor::src_alpha_blend_factor

◆ src_rgb_blend_factor

MTLBlendFactor blender::gpu::MTLRenderPipelineStateDescriptor::src_rgb_blend_factor

◆ stencil_attachment_format

MTLPixelFormat blender::gpu::MTLRenderPipelineStateDescriptor::stencil_attachment_format

◆ vertex_descriptor


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