Blender V4.5
draw_handle.hh File Reference

Go to the source code of this file.

Classes

struct  blender::draw::ResourceHandle
struct  blender::draw::ResourceHandleRange
struct  blender::draw::ObjectRef

Namespaces

namespace  blender
namespace  blender::draw

Detailed Description

A unique identifier for each object component. It is used to access each component data such as matrices and object attributes. It is valid only for the current draw, it is not persistent.

The most significant bit is used to encode if the object needs to invert the front face winding because of its object matrix handedness. This is handy because this means sorting inside #DrawGroup command will put all inverted commands last.

Default value of 0 points toward an non-cull-able object with unit bounding box centered at the origin.

Definition in file draw_handle.hh.