Blender V5.3
blender::gpu::MTLBoundShaderState Struct Reference

#include <mtl_context.hh>

Public Member Functions

bool operator== (MTLBoundShaderState const &other) const
bool operator!= (MTLBoundShaderState const &other) const

Public Attributes

MTLShader * shader = nullptr
uint pso_index = 0

Detailed Description

Definition at line 58 of file mtl_context.hh.

Member Function Documentation

◆ operator!=()

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

Definition at line 66 of file mtl_context.hh.

◆ operator==()

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

Definition at line 62 of file mtl_context.hh.

References pso_index, and shader.

Member Data Documentation

◆ pso_index

uint blender::gpu::MTLBoundShaderState::pso_index = 0

Definition at line 60 of file mtl_context.hh.

Referenced by operator==().

◆ shader

MTLShader* blender::gpu::MTLBoundShaderState::shader = nullptr

Definition at line 59 of file mtl_context.hh.

Referenced by operator==().


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