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

#include <mtl_capabilities.hh>

Public Attributes

int max_color_render_targets = 4
int buffer_alignment_for_textures = 256
int minimum_buffer_offset_alignment = 256
bool supports_vertex_amplification = false
bool supports_texture_swizzle = true
bool supports_cubemaps = true
bool supports_layered_rendering = true
bool supports_memory_barriers = false
bool supports_sampler_border_color = false
bool supports_argument_buffers_tier2 = false
bool supports_texture_gather = false
bool supports_texture_atomics = false
bool supports_native_tile_inputs = false
bool supports_family_mac1 = false
bool supports_family_mac2 = false
bool supports_family_mac_catalyst1 = false
bool supports_family_mac_catalyst2 = false
AppleGPUType gpu = APPLE_GPU_UNKNOWN
int num_performance_cores = -1
int num_efficiency_cores = -1

Detailed Description

Definition at line 34 of file mtl_capabilities.hh.

Member Data Documentation

◆ buffer_alignment_for_textures

int blender::gpu::MTLCapabilities::buffer_alignment_for_textures = 256

Definition at line 38 of file mtl_capabilities.hh.

◆ gpu

AppleGPUType blender::gpu::MTLCapabilities::gpu = APPLE_GPU_UNKNOWN

◆ max_color_render_targets

int blender::gpu::MTLCapabilities::max_color_render_targets = 4

Definition at line 37 of file mtl_capabilities.hh.

◆ minimum_buffer_offset_alignment

int blender::gpu::MTLCapabilities::minimum_buffer_offset_alignment = 256

Definition at line 39 of file mtl_capabilities.hh.

◆ num_efficiency_cores

int blender::gpu::MTLCapabilities::num_efficiency_cores = -1

Definition at line 62 of file mtl_capabilities.hh.

◆ num_performance_cores

int blender::gpu::MTLCapabilities::num_performance_cores = -1

Definition at line 61 of file mtl_capabilities.hh.

◆ supports_argument_buffers_tier2

bool blender::gpu::MTLCapabilities::supports_argument_buffers_tier2 = false

Definition at line 48 of file mtl_capabilities.hh.

◆ supports_cubemaps

bool blender::gpu::MTLCapabilities::supports_cubemaps = true

Definition at line 44 of file mtl_capabilities.hh.

◆ supports_family_mac1

bool blender::gpu::MTLCapabilities::supports_family_mac1 = false

Definition at line 54 of file mtl_capabilities.hh.

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

◆ supports_family_mac2

bool blender::gpu::MTLCapabilities::supports_family_mac2 = false

Definition at line 55 of file mtl_capabilities.hh.

◆ supports_family_mac_catalyst1

bool blender::gpu::MTLCapabilities::supports_family_mac_catalyst1 = false

Definition at line 56 of file mtl_capabilities.hh.

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

◆ supports_family_mac_catalyst2

bool blender::gpu::MTLCapabilities::supports_family_mac_catalyst2 = false

Definition at line 57 of file mtl_capabilities.hh.

◆ supports_layered_rendering

bool blender::gpu::MTLCapabilities::supports_layered_rendering = true

Definition at line 45 of file mtl_capabilities.hh.

◆ supports_memory_barriers

bool blender::gpu::MTLCapabilities::supports_memory_barriers = false

Definition at line 46 of file mtl_capabilities.hh.

◆ supports_native_tile_inputs

bool blender::gpu::MTLCapabilities::supports_native_tile_inputs = false

Definition at line 51 of file mtl_capabilities.hh.

◆ supports_sampler_border_color

bool blender::gpu::MTLCapabilities::supports_sampler_border_color = false

Definition at line 47 of file mtl_capabilities.hh.

◆ supports_texture_atomics

bool blender::gpu::MTLCapabilities::supports_texture_atomics = false

◆ supports_texture_gather

bool blender::gpu::MTLCapabilities::supports_texture_gather = false

Definition at line 49 of file mtl_capabilities.hh.

◆ supports_texture_swizzle

bool blender::gpu::MTLCapabilities::supports_texture_swizzle = true

Definition at line 43 of file mtl_capabilities.hh.

◆ supports_vertex_amplification

bool blender::gpu::MTLCapabilities::supports_vertex_amplification = false

Definition at line 42 of file mtl_capabilities.hh.


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