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

#include <attribute_convert.hh>

Public Types

using VBOType = float2

Static Public Member Functions

static VBOType convert (const int2 &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 74 of file attribute_convert.hh.

Member Typedef Documentation

◆ VBOType

Definition at line 75 of file attribute_convert.hh.

Member Function Documentation

◆ convert()

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

Definition at line 79 of file attribute_convert.hh.

Member Data Documentation

◆ gpu_component_len

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

Definition at line 77 of file attribute_convert.hh.

◆ gpu_component_type

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

Definition at line 76 of file attribute_convert.hh.

◆ gpu_fetch_mode

Definition at line 78 of file attribute_convert.hh.


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