Blender V5.0
blender::draw::AttributeConverter< float > Struct Reference

#include <attribute_convert.hh>

Public Types

using VBOType = VecBase<float, COMPONENT_LEN_SCALAR>

Static Public Member Functions

static VBOType convert (const float &value)

Static Public Attributes

static constexpr GPUVertCompType gpu_component_type = GPU_COMP_F32
static constexpr int gpu_component_len = COMPONENT_LEN_SCALAR
static constexpr GPUVertFetchMode gpu_fetch_mode = GPU_FETCH_FLOAT

Detailed Description

Definition at line 84 of file attribute_convert.hh.

Member Typedef Documentation

◆ VBOType

Member Function Documentation

◆ convert()

VBOType blender::draw::AttributeConverter< float >::convert ( const float & value)
inlinestatic

Definition at line 89 of file attribute_convert.hh.

Member Data Documentation

◆ gpu_component_len

int blender::draw::AttributeConverter< float >::gpu_component_len = COMPONENT_LEN_SCALAR
staticconstexpr

Definition at line 87 of file attribute_convert.hh.

◆ gpu_component_type

GPUVertCompType blender::draw::AttributeConverter< float >::gpu_component_type = GPU_COMP_F32
staticconstexpr

Definition at line 86 of file attribute_convert.hh.

◆ gpu_fetch_mode

Definition at line 88 of file attribute_convert.hh.


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