Review some comments
This commit is contained in:
parent
a474511356
commit
2b1ec5d8d2
1 changed files with 6 additions and 6 deletions
12
src/rlgl.h
12
src/rlgl.h
|
@ -602,10 +602,10 @@ RLAPI Matrix GetMatrixModelview(void); // Get
|
||||||
|
|
||||||
// Texture maps generation (PBR)
|
// Texture maps generation (PBR)
|
||||||
// NOTE: Required shaders should be provided
|
// NOTE: Required shaders should be provided
|
||||||
RLAPI TextureCubemap GenTextureCubemap(Shader shader, Texture2D panorama, int size, int format); // Generate cubemap texture from 2D panorama texture
|
RLAPI TextureCubemap GenTextureCubemap(Shader shader, Texture2D panorama, int size, int format); // Generate cubemap (6 faces) from equirectangular (panorama) texture
|
||||||
RLAPI TextureCubemap GenTextureIrradiance(Shader shader, TextureCubemap cubemap, int size); // Generate irradiance texture using cubemap data
|
RLAPI TextureCubemap GenTextureIrradiance(Shader shader, TextureCubemap cubemap, int size); // Generate irradiance cubemap using cubemap texture
|
||||||
RLAPI TextureCubemap GenTexturePrefilter(Shader shader, TextureCubemap cubemap, int size); // Generate prefilter texture using cubemap data
|
RLAPI TextureCubemap GenTexturePrefilter(Shader shader, TextureCubemap cubemap, int size); // Generate prefilter cubemap using cubemap texture
|
||||||
RLAPI Texture2D GenTextureBRDF(Shader shader, int size); // Generate BRDF texture using cubemap data
|
RLAPI Texture2D GenTextureBRDF(Shader shader, int size); // Generate a generic BRDF texture
|
||||||
|
|
||||||
// Shading begin/end functions
|
// Shading begin/end functions
|
||||||
RLAPI void BeginShaderMode(Shader shader); // Begin custom shader drawing
|
RLAPI void BeginShaderMode(Shader shader); // Begin custom shader drawing
|
||||||
|
@ -883,7 +883,7 @@ typedef struct rlglData {
|
||||||
int framebufferWidth; // Default framebuffer width
|
int framebufferWidth; // Default framebuffer width
|
||||||
int framebufferHeight; // Default framebuffer height
|
int framebufferHeight; // Default framebuffer height
|
||||||
|
|
||||||
} State;
|
} State; // Renderer state
|
||||||
struct {
|
struct {
|
||||||
bool vao; // VAO support (OpenGL ES2 could not support VAO extension)
|
bool vao; // VAO support (OpenGL ES2 could not support VAO extension)
|
||||||
bool texNPOT; // NPOT textures full support
|
bool texNPOT; // NPOT textures full support
|
||||||
|
@ -909,7 +909,7 @@ typedef struct rlglData {
|
||||||
unsigned int stereoTexId; // VR stereo color texture (attached to framebuffer)
|
unsigned int stereoTexId; // VR stereo color texture (attached to framebuffer)
|
||||||
bool simulatorReady; // VR simulator ready flag
|
bool simulatorReady; // VR simulator ready flag
|
||||||
bool stereoRender; // VR stereo rendering enabled/disabled flag
|
bool stereoRender; // VR stereo rendering enabled/disabled flag
|
||||||
} Vr;
|
} Vr; // VR simulator data
|
||||||
#endif // SUPPORT_VR_SIMULATOR
|
#endif // SUPPORT_VR_SIMULATOR
|
||||||
} rlglData;
|
} rlglData;
|
||||||
#endif // GRAPHICS_API_OPENGL_33 || GRAPHICS_API_OPENGL_ES2
|
#endif // GRAPHICS_API_OPENGL_33 || GRAPHICS_API_OPENGL_ES2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue