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

#include <mtl_context.hh>

Public Member Functions

bool operator== (const MTLSamplerArray &other) const
uint32_t hash () const

Public Attributes

uint num_samplers
MTLSamplerState mtl_sampler_flags [MTL_MAX_TEXTURE_SLOTS]
id< MTLSamplerStatemtl_sampler [MTL_MAX_TEXTURE_SLOTS]

Detailed Description

Definition at line 394 of file mtl_context.hh.

Member Function Documentation

◆ hash()

uint32_t blender::gpu::MTLSamplerArray::hash ( ) const
inline

Definition at line 410 of file mtl_context.hh.

References hash(), and i.

Referenced by hash().

◆ operator==()

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

Definition at line 400 of file mtl_context.hh.

References mtl_sampler_flags, and num_samplers.

Member Data Documentation

◆ mtl_sampler

id<MTLSamplerState> blender::gpu::MTLSamplerArray::mtl_sampler[MTL_MAX_TEXTURE_SLOTS]

Definition at line 398 of file mtl_context.hh.

◆ mtl_sampler_flags

MTLSamplerState blender::gpu::MTLSamplerArray::mtl_sampler_flags[MTL_MAX_TEXTURE_SLOTS]

Definition at line 397 of file mtl_context.hh.

Referenced by operator==().

◆ num_samplers

uint blender::gpu::MTLSamplerArray::num_samplers

Definition at line 395 of file mtl_context.hh.

Referenced by operator==().


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