Blender V4.3
draw_view.hh File Reference
#include "DRW_gpu_wrapper.hh"
#include "DRW_render.hh"
#include "draw_shader_shared.hh"

Go to the source code of this file.

Classes

class  blender::draw::View
 

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.