atomes 1.3.1
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
object_3d Struct Reference

#include <ogl_shading.h>

Data Fields

int quality
int num_vertices
int vert_buffer_size
float * vertices
int num_indices
int ind_buffer_size
int * indices
int num_instances
int inst_buffer_size
float * instances
GLuint texture
float shift [4]

Detailed Description

Definition at line 98 of file ogl_shading.h.

Field Documentation

◆ ind_buffer_size

int ind_buffer_size

Buffer size for the indices, if any

Definition at line 105 of file ogl_shading.h.

◆ indices

int* indices

Indices to render, if any

Definition at line 106 of file ogl_shading.h.

◆ inst_buffer_size

int inst_buffer_size

Buffer size for the instances, if any

Definition at line 108 of file ogl_shading.h.

◆ instances

float* instances

Instances to render, if any

Definition at line 109 of file ogl_shading.h.

◆ num_indices

int num_indices

Number of indices, if any

Definition at line 104 of file ogl_shading.h.

◆ num_instances

int num_instances

Number of instances, if any

Definition at line 107 of file ogl_shading.h.

◆ num_vertices

int num_vertices

Number of vertices to render, if any

Definition at line 101 of file ogl_shading.h.

◆ quality

int quality

OpenGL rendering quality

Definition at line 100 of file ogl_shading.h.

◆ shift

float shift[4]

0 to 2, texture position shift, if any:
(0 = x_shift, 1 = y_shift, 2 = z_shift),
3 visibility (0 = normal, 1 = always)

Definition at line 111 of file ogl_shading.h.

◆ texture

GLuint texture

Texture ID, if any

Definition at line 110 of file ogl_shading.h.

◆ vert_buffer_size

int vert_buffer_size

Buffer size for the vertices, if any

Definition at line 102 of file ogl_shading.h.

◆ vertices

float* vertices

Vertices to render, if any

Definition at line 103 of file ogl_shading.h.


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