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

#include <mtl_framebuffer.hh>

Public Attributes

bool used
gpu::MTLTexturetexture
union { 
   float   color [4] 
   float   depth 
   uint   stencil 
clear_value
eGPULoadOp load_action
eGPUStoreOp store_action
uint mip
uint slice
uint depth_plane
uint render_target_array_length

Detailed Description

Definition at line 24 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 29 of file mtl_framebuffer.hh.

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

◆ depth_plane

uint blender::gpu::MTLAttachment::depth_plane

◆ load_action

eGPULoadOp blender::gpu::MTLAttachment::load_action

◆ mip

uint blender::gpu::MTLAttachment::mip

◆ render_target_array_length

uint blender::gpu::MTLAttachment::render_target_array_length

Definition at line 40 of file mtl_framebuffer.hh.

◆ slice

uint blender::gpu::MTLAttachment::slice

◆ stencil

uint blender::gpu::MTLAttachment::stencil

Definition at line 30 of file mtl_framebuffer.hh.

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

◆ store_action

eGPUStoreOp blender::gpu::MTLAttachment::store_action

◆ texture

◆ used


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