Blender V5.0
draw_view.hh File Reference
#include "DNA_view3d_types.h"
#include "DRW_gpu_wrapper.hh"
#include "GPU_matrix.hh"
#include "draw_shader_shared.hh"
#include <atomic>
#include <cstdint>

Go to the source code of this file.

Classes

class  blender::draw::View
struct  blender::draw::View::OffsetData

Namespaces

namespace  blender
namespace  blender::draw

Typedefs

using blender::draw::ObjectBoundsBuf = StorageArrayBuffer<ObjectBounds, 128>
using blender::draw::ObjectInfosBuf = StorageArrayBuffer<ObjectInfos, 128>
using blender::draw::VisibilityBuf = StorageArrayBuffer<uint, 4, true>

Detailed Description

View description and states.

A draw::View object is required for drawing geometry using the DRW API and its internal culling system.

One View object can actually contain multiple view matrices if the template parameter view_len is greater than 1. This is called multi-view rendering and the vertex shader must setting drw_view_id accordingly.

Definition in file draw_view.hh.