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

#include <mtl_pso_descriptor_state.hh>

Public Member Functions

bool operator== (const MTLVertexAttributeDescriptorPSO &other) const
 
uint64_t hash () const
 
void reset ()
 

Public Attributes

MTLVertexFormat format
 
int offset
 
int buffer_index
 
GPUVertFetchMode format_conversion_mode
 

Detailed Description

Vertex attribute and buffer descriptor wrappers for use in PSO construction and caching.

Definition at line 24 of file mtl_pso_descriptor_state.hh.

Member Function Documentation

◆ hash()

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

Definition at line 37 of file mtl_pso_descriptor_state.hh.

Referenced by blender::gpu::MTLVertexDescriptor::hash().

◆ operator==()

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

Definition at line 30 of file mtl_pso_descriptor_state.hh.

References buffer_index, and format_conversion_mode.

◆ reset()

void blender::gpu::MTLVertexAttributeDescriptorPSO::reset ( )
inline

Member Data Documentation

◆ buffer_index

int blender::gpu::MTLVertexAttributeDescriptorPSO::buffer_index

◆ format

MTLVertexFormat blender::gpu::MTLVertexAttributeDescriptorPSO::format

◆ format_conversion_mode

GPUVertFetchMode blender::gpu::MTLVertexAttributeDescriptorPSO::format_conversion_mode

◆ offset

int blender::gpu::MTLVertexAttributeDescriptorPSO::offset

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