/**
* @author gbarbieri
*/
abstract static class Semantic {
public interface Attr {
int POSITION = 0;
int COLOR = 1;
int NORMAL = 2;
int TEXCOORD = 3;
int DRAW_ID = 4;
}
public interface Buffer {
int STATIC = 0;
int DYNAMIC = 1;
}
public interface Frag {
int COLOR = 0;
int RED = 0;
int GREEN = 1;
int BLUE = 2;
int ALPHA = 0;
}
public interface Image {
int DIFFUSE = 0;
int PICKING = 1;
}
public interface Object {
int VAO = 0;
int VBO = 1;
int IBO = 2;
int TEXTURE = 3;
int SAMPLER = 4;
int SIZE = 5;
}
public interface Renderbuffer {
int DEPTH = 0;
int COLOR0 = 1;
}
public interface Sampler {
int DIFFUSE = 0;
int POSITION = 4;
int TEXCOORD = 5;
int COLOR = 6;
}
public interface Storage {
int VERTEX = 0;
}
public interface Uniform {
int MATERIAL = 0;
int TRANSFORM0 = 1;
int TRANSFORM1 = 2;
int INDIRECTION = 3;
int GLOBAL_MATRICES = 4;
int CONSTANT = 0;
int PER_FRAME = 1;
int PER_PASS = 2;
int LIGHT = 3;
}
public interface Vert {
int POSITION = 0;
int COLOR = 3;
int TEXCOORD = 4;
int INSTANCE = 7;
}
public interface Stream {
int A = 0;
int B = 1;
}
}
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029753 |
Snippet name: | JOGL framework.Semantic |
Eternal ID of this version: | #1029753/1 |
Text MD5: | b574e0c91b14432a76ec7f82629d49c1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-09-11 22:16:20 |
Source code size: | 1601 bytes / 91 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 179 / 275 |
Referenced in: | [show references] |