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

#include <mtl_framebuffer.hh>

Public Attributes

bool used = false
gpu::MTLTexturetexture = nullptr
union { 
   float   color [4] 
   float   depth 
   uint   stencil 
clear_value
GPULoadOp load_action = GPU_LOADACTION_DONT_CARE
GPUStoreOp store_action = GPU_STOREACTION_DONT_CARE
uint mip = 0
uint slice = 0
uint depth_plane = 0
uint render_target_array_length = 0

Detailed Description

Definition at line 25 of file mtl_framebuffer.hh.

Member Data Documentation

◆ [union]

union { ... } blender::gpu::MTLAttachment::clear_value

◆ color

float blender::gpu::MTLAttachment::color[4]

◆ depth

float blender::gpu::MTLAttachment::depth

Definition at line 30 of file mtl_framebuffer.hh.

Referenced by blender::gpu::MTLFrameBuffer::update_attachments().

◆ depth_plane

uint blender::gpu::MTLAttachment::depth_plane = 0

◆ load_action

◆ mip

uint blender::gpu::MTLAttachment::mip = 0

◆ render_target_array_length

uint blender::gpu::MTLAttachment::render_target_array_length = 0

Definition at line 41 of file mtl_framebuffer.hh.

◆ slice

uint blender::gpu::MTLAttachment::slice = 0

◆ stencil

uint blender::gpu::MTLAttachment::stencil

Definition at line 31 of file mtl_framebuffer.hh.

Referenced by blender::gpu::MTLFrameBuffer::update_attachments().

◆ store_action

◆ texture

◆ used


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