|
Blender V5.3
|
#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 |
| uint8_t | color_attachment_mask = 0xFF |
| 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 |
Definition at line 161 of file mtl_pso_descriptor_state.hh.
|
inline |
Definition at line 246 of file mtl_pso_descriptor_state.hh.
References clipping_plane_enable_mask, blender::float_as_uint(), GPU_FB_MAX_COLOR_ATTACHMENT, hash(), blender::gpu::MTLVertexDescriptor::hash(), blender::gpu::SpecializationStateDescriptor::hash(), blender::IndexRange::IndexRange(), blender::gpu::MTLVertexDescriptor::prim_topology_class, and specialization_state.
Referenced by blender::gpu::MTLShader::bake_graphic_pipeline_state(), and hash().
|
inline |
Definition at line 205 of file mtl_pso_descriptor_state.hh.
References alpha_blend_op, blending_enabled, clipping_plane_enable_mask, color_attachment_format, color_attachment_mask, color_write_mask, depth_attachment_format, dest_alpha_blend_factor, dest_rgb_blend_factor, GPU_FB_MAX_COLOR_ATTACHMENT, blender::IndexRange::IndexRange(), num_color_attachments, point_size, blender::gpu::MTLVertexDescriptor::prim_topology_class, rgb_blend_op, specialization_state, src_alpha_blend_factor, src_rgb_blend_factor, stencil_attachment_format, and vertex_descriptor.
|
inline |
Definition at line 290 of file mtl_pso_descriptor_state.hh.
References blender::gpu::MTLVertexDescriptor::attributes, blender::gpu::MTLVertexDescriptor::max_attribute_value, blender::gpu::MTLVertexDescriptor::num_vert_buffers, blender::gpu::MTLVertexDescriptor::prim_topology_class, blender::gpu::MTLVertexAttributeDescriptorPSO::reset(), blender::gpu::MTLVertexDescriptor::total_attributes, and vertex_descriptor.
Referenced by blender::gpu::MTLImmediate::end().
| MTLBlendOperation blender::gpu::MTLRenderPipelineStateDescriptor::alpha_blend_op |
Definition at line 185 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), and operator==().
| bool blender::gpu::MTLRenderPipelineStateDescriptor::blending_enabled |
Definition at line 184 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), and operator==().
| uchar blender::gpu::MTLRenderPipelineStateDescriptor::clipping_plane_enable_mask = 0 |
Definition at line 196 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), hash(), and operator==().
| MTLPixelFormat blender::gpu::MTLRenderPipelineStateDescriptor::color_attachment_format[GPU_FB_MAX_COLOR_ATTACHMENT] |
Definition at line 178 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), and operator==().
| uint8_t blender::gpu::MTLRenderPipelineStateDescriptor::color_attachment_mask = 0xFF |
Definition at line 181 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), and operator==().
| MTLColorWriteMask blender::gpu::MTLRenderPipelineStateDescriptor::color_write_mask |
Definition at line 193 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), and operator==().
| MTLPixelFormat blender::gpu::MTLRenderPipelineStateDescriptor::depth_attachment_format |
Definition at line 179 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), and operator==().
| MTLBlendFactor blender::gpu::MTLRenderPipelineStateDescriptor::dest_alpha_blend_factor |
Definition at line 187 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), and operator==().
| MTLBlendFactor blender::gpu::MTLRenderPipelineStateDescriptor::dest_rgb_blend_factor |
Definition at line 188 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), and operator==().
| int blender::gpu::MTLRenderPipelineStateDescriptor::num_color_attachments |
Definition at line 177 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), and operator==().
| float blender::gpu::MTLRenderPipelineStateDescriptor::point_size = 0.0f |
Definition at line 199 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), and operator==().
| MTLBlendOperation blender::gpu::MTLRenderPipelineStateDescriptor::rgb_blend_op |
Definition at line 186 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), and operator==().
| SpecializationStateDescriptor blender::gpu::MTLRenderPipelineStateDescriptor::specialization_state |
Definition at line 202 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), hash(), and operator==().
| MTLBlendFactor blender::gpu::MTLRenderPipelineStateDescriptor::src_alpha_blend_factor |
Definition at line 189 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), and operator==().
| MTLBlendFactor blender::gpu::MTLRenderPipelineStateDescriptor::src_rgb_blend_factor |
Definition at line 190 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), and operator==().
| MTLPixelFormat blender::gpu::MTLRenderPipelineStateDescriptor::stencil_attachment_format |
Definition at line 180 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), and operator==().
| MTLVertexDescriptor blender::gpu::MTLRenderPipelineStateDescriptor::vertex_descriptor |
Definition at line 173 of file mtl_pso_descriptor_state.hh.
Referenced by blender::gpu::MTLShader::bake_current_pipeline_state(), blender::gpu::MTLShader::bake_graphic_pipeline_state(), blender::gpu::MTLImmediate::end(), operator==(), and reset_vertex_descriptor().