Blender V4.5
blender::gpu::VKWorkarounds Struct Reference

#include <vk_device.hh>

Classes

struct  [struct].vertex_formats

Public Attributes

bool not_aligned_pixel_formats = false
struct  vertex_formats

Detailed Description

Definition at line 88 of file vk_device.hh.

Member Data Documentation

◆ not_aligned_pixel_formats

bool blender::gpu::VKWorkarounds::not_aligned_pixel_formats = false

Some devices don't support pixel formats that are aligned to 24 and 48 bits. In this case we need to use a different texture format.

If set to true we should work around this issue by using a different texture format.

Definition at line 95 of file vk_device.hh.

Referenced by blender::gpu::VKTexture::init_internal().

◆ vertex_formats

struct blender::gpu::VKWorkarounds::[struct].vertex_formats blender::gpu::VKWorkarounds::vertex_formats

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