forked from LeenkxTeam/LNXRNT
Add files
This commit is contained in:
@ -0,0 +1,36 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
char name[64];
|
||||
uint32_t offset;
|
||||
uint32_t size;
|
||||
} ShaderConstant;
|
||||
|
||||
typedef struct {
|
||||
char name[64];
|
||||
int attribute;
|
||||
} ShaderAttribute;
|
||||
|
||||
typedef struct {
|
||||
char name[64];
|
||||
int texture;
|
||||
} ShaderTexture;
|
||||
|
||||
typedef struct {
|
||||
ShaderConstant constants[32];
|
||||
int constantsSize;
|
||||
ShaderAttribute attributes[32];
|
||||
ShaderTexture textures[32];
|
||||
int texturesCount;
|
||||
void *shader;
|
||||
uint8_t *data;
|
||||
int length;
|
||||
} Shader5Impl;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user