Blender V5.0
vk_memory_layout.hh File Reference

Go to the source code of this file.

Classes

struct  blender::gpu::Std140
struct  blender::gpu::Std430
struct  blender::gpu::TransferRegion

Namespaces

namespace  blender
namespace  blender::gpu

Functions

template<typename LayoutT>
static uint32_t blender::gpu::element_stride (const shader::Type type)
template<typename LayoutT>
static uint32_t blender::gpu::array_stride (const shader::Type type)
template<typename LayoutT>
static void blender::gpu::align (const shader::Type &type, const int32_t array_size, uint32_t *r_offset)
template<typename LayoutT>
static void blender::gpu::reserve (const shader::Type type, int32_t array_size, uint32_t *r_offset)
template<typename LayoutT>
static void blender::gpu::align_end_of_struct (uint32_t *r_offset)