Blender V5.0
blender::gpu::PackedNormal Struct Reference

#include <GPU_attribute_convert.hh>

Public Member Functions

 PackedNormal ()=default
 PackedNormal (int _x, int _y, int _z, int _w=0)
 operator float4 ()

Public Attributes

int x: 10
int y: 10
int z: 10
int w: 2

Detailed Description

Definition at line 15 of file GPU_attribute_convert.hh.

Constructor & Destructor Documentation

◆ PackedNormal() [1/2]

blender::gpu::PackedNormal::PackedNormal ( )
default

◆ PackedNormal() [2/2]

blender::gpu::PackedNormal::PackedNormal ( int _x,
int _y,
int _z,
int _w = 0 )
inline

Definition at line 22 of file GPU_attribute_convert.hh.

References w, x, y, and z.

Member Function Documentation

◆ operator float4()

blender::gpu::PackedNormal::operator float4 ( )
inline

Definition at line 25 of file GPU_attribute_convert.hh.

References w, x, y, and z.

Member Data Documentation

◆ w

int blender::gpu::PackedNormal::w

Definition at line 19 of file GPU_attribute_convert.hh.

Referenced by operator float4(), and PackedNormal().

◆ x

int blender::gpu::PackedNormal::x

Definition at line 16 of file GPU_attribute_convert.hh.

Referenced by operator float4(), and PackedNormal().

◆ y

int blender::gpu::PackedNormal::y

Definition at line 17 of file GPU_attribute_convert.hh.

Referenced by operator float4(), and PackedNormal().

◆ z

int blender::gpu::PackedNormal::z

Definition at line 18 of file GPU_attribute_convert.hh.

Referenced by operator float4(), and PackedNormal().


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