Browse Source

Review some comments

pull/1589/head
raysan5 3 years ago
parent
commit
2b1ec5d8d2
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      src/rlgl.h

+ 6
- 6
src/rlgl.h View File

@ -602,10 +602,10 @@ RLAPI Matrix GetMatrixModelview(void); // Get
// Texture maps generation (PBR)
// NOTE: Required shaders should be provided
RLAPI TextureCubemap GenTextureCubemap(Shader shader, Texture2D panorama, int size, int format); // Generate cubemap n">texture from 2D panorama texture
RLAPI TextureCubemap GenTextureIrradiance(Shader shader, TextureCubemap cubemap, int size); // Generate irradiance texture using cubemap data
RLAPI TextureCubemap GenTexturePrefilter(Shader shader, TextureCubemap cubemap, int size); // Generate prefilter texture using cubemap data
RLAPI Texture2D GenTextureBRDF(Shader shader, int size); // Generate BRDF texture using cubemap data
RLAPI TextureCubemap GenTextureCubemap(Shader shader, Texture2D panorama, int size, int format); // Generate cubemap p">(6 faces) from equirectangular (panorama) texture
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 cubemap using cubemap texture
RLAPI Texture2D GenTextureBRDF(Shader shader, int size); // Generate a generic BRDF texture
// Shading begin/end functions
RLAPI void BeginShaderMode(Shader shader); // Begin custom shader drawing
@ -883,7 +883,7 @@ typedef struct rlglData {
int framebufferWidth; // Default framebuffer width
int framebufferHeight; // Default framebuffer height
} State;
} State; // Renderer state
struct {
bool vao; // VAO support (OpenGL ES2 could not support VAO extension)
bool texNPOT; // NPOT textures full support
@ -909,7 +909,7 @@ typedef struct rlglData {
unsigned int stereoTexId; // VR stereo color texture (attached to framebuffer)
bool simulatorReady; // VR simulator ready flag
bool stereoRender; // VR stereo rendering enabled/disabled flag
} Vr;
} Vr; // VR simulator data
#endif // SUPPORT_VR_SIMULATOR
} rlglData;
#endif // GRAPHICS_API_OPENGL_33 || GRAPHICS_API_OPENGL_ES2

Loading…
Cancel
Save