Blender  V3.3
Public Member Functions | Public Attributes | List of all members
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 330 of file mtl_context.hh.

Member Function Documentation

◆ hash()

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

Definition at line 346 of file mtl_context.hh.

References num_samplers.

◆ operator==()

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

Definition at line 336 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 334 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::MTLContext().

◆ mtl_sampler_flags

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

Definition at line 333 of file mtl_context.hh.

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

◆ num_samplers

uint blender::gpu::MTLSamplerArray::num_samplers

Definition at line 331 of file mtl_context.hh.

Referenced by hash(), and operator==().


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