Blender V4.3
blender::draw::AttributeConverter< int2 > Struct Reference

#include <attribute_convert.hh>

Public Types

using VBOType = int2
 

Static Public Member Functions

static VBOType convert (const int2 &value)
 

Static Public Attributes

static constexpr GPUVertCompType gpu_component_type = GPU_COMP_I32
 
static constexpr int gpu_component_len = 2
 
static constexpr GPUVertFetchMode gpu_fetch_mode = GPU_FETCH_INT_TO_FLOAT
 

Detailed Description

Definition at line 69 of file attribute_convert.hh.

Member Typedef Documentation

◆ VBOType

Definition at line 70 of file attribute_convert.hh.

Member Function Documentation

◆ convert()

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

Definition at line 74 of file attribute_convert.hh.

Member Data Documentation

◆ gpu_component_len

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

Definition at line 72 of file attribute_convert.hh.

◆ gpu_component_type

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

Definition at line 71 of file attribute_convert.hh.

◆ gpu_fetch_mode

Definition at line 73 of file attribute_convert.hh.


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