Blender V4.5
blender::draw::AttributeConverter< float2 > Struct Reference

#include <attribute_convert.hh>

Public Types

using VBOType = float2float2

Static Public Member Functions

static VBOType convert (const float2float2 &value)

Static Public Attributes

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

Detailed Description

Definition at line 89 of file attribute_convert.hh.

Member Typedef Documentation

◆ VBOType

Definition at line 90 of file attribute_convert.hh.

Member Function Documentation

◆ convert()

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

Definition at line 94 of file attribute_convert.hh.

Member Data Documentation

◆ gpu_component_len

int blender::draw::AttributeConverter< float2float2 >::gpu_component_len = 2
staticconstexpr

Definition at line 92 of file attribute_convert.hh.

◆ gpu_component_type

Definition at line 91 of file attribute_convert.hh.

◆ gpu_fetch_mode

Definition at line 93 of file attribute_convert.hh.


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