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()

◆ operator==()

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

Definition at line 132 of file mtl_pso_descriptor_state.hh.

References b, and buffer_layouts.

Member Data Documentation

◆ attributes

◆ buffer_layouts

◆ max_attribute_value

◆ num_ssbo_attributes

int blender::gpu::MTLVertexDescriptor::num_ssbo_attributes

◆ 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

◆ uses_ssbo_vertex_fetch

bool blender::gpu::MTLVertexDescriptor::uses_ssbo_vertex_fetch

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