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

#include <mtl_pso_descriptor_state.hh>

Public Member Functions

bool operator== (const MTLVertexDescriptor &other) const
uint64_t hash () const

Public Attributes

MTLVertexAttributeDescriptorPSO attributes [GPU_VERT_ATTR_MAX_LEN]
MTLVertexBufferLayoutDescriptorPSO buffer_layouts [GPU_BATCH_VBO_MAX_LEN+GPU_BATCH_INST_VBO_MAX_LEN]
int max_attribute_value
int total_attributes
int num_vert_buffers
MTLPrimitiveTopologyClass prim_topology_class
bool uses_ssbo_vertex_fetch
MTLSSBOAttribute ssbo_attributes [GPU_VERT_ATTR_MAX_LEN]
int num_ssbo_attributes

Detailed Description

Definition at line 114 of file mtl_pso_descriptor_state.hh.

Member Function Documentation

◆ hash()

uint64_t blender::gpu::MTLVertexDescriptor::hash ( ) const
inline

◆ operator==()

bool blender::gpu::MTLVertexDescriptor::operator== ( const MTLVertexDescriptor & other) const
inline

Member Data Documentation

◆ attributes

◆ buffer_layouts

◆ max_attribute_value

int blender::gpu::MTLVertexDescriptor::max_attribute_value

◆ num_ssbo_attributes

int blender::gpu::MTLVertexDescriptor::num_ssbo_attributes

Definition at line 130 of file mtl_pso_descriptor_state.hh.

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

◆ num_vert_buffers

int blender::gpu::MTLVertexDescriptor::num_vert_buffers

◆ prim_topology_class

◆ ssbo_attributes

MTLSSBOAttribute blender::gpu::MTLVertexDescriptor::ssbo_attributes[GPU_VERT_ATTR_MAX_LEN]

Definition at line 129 of file mtl_pso_descriptor_state.hh.

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

◆ total_attributes

int blender::gpu::MTLVertexDescriptor::total_attributes

Definition at line 121 of file mtl_pso_descriptor_state.hh.

Referenced by blender::gpu::MTLImmediate::end(), and operator==().

◆ uses_ssbo_vertex_fetch

bool blender::gpu::MTLVertexDescriptor::uses_ssbo_vertex_fetch

Definition at line 128 of file mtl_pso_descriptor_state.hh.

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


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