piping the texture attachments
This commit is contained in:
26
note.md
Normal file
26
note.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# Texture Samplers
|
||||
|GLSL sampler|OpenGL texture enum|Texture type|
|
||||
|---|---|---|
|
||||
gsampler1D | GL_TEXTURE_1D | 1D texture
|
||||
gsampler2D | GL_TEXTURE_2D | 2D texture
|
||||
gsampler3D | GL_TEXTURE_3D | 3D texture
|
||||
gsamplerCube | GL_TEXTURE_CUBE_MAP | Cubemap Texture
|
||||
gsampler2DRect | GL_TEXTURE_RECTANGLE | Rectangle Texture
|
||||
gsampler1DArray | GL_TEXTURE_1D_ARRAY | 1D Array Texture
|
||||
gsampler2DArray | GL_TEXTURE_2D_ARRAY | 2D Array Texture
|
||||
gsamplerCubeArray | GL_TEXTURE_CUBE_MAP_ARRAY | Cubemap Array Texture
|
||||
gsamplerBuffer | GL_TEXTURE_BUFFER | Buffer Texture
|
||||
gsampler2DMS | GL_TEXTURE_2D_MULTISAMPLE | Multisample Texture
|
||||
gsampler2DMSArray | GL_TEXTURE_2D_MULTISAMPLE_ARRAY | Multisample Array Texture
|
||||
|
||||
|
||||
# Shadow Samplers
|
||||
|GLSL sampler|OpenGL texture enum|
|
||||
|---|---|
|
||||
sampler1DShadow | GL_TEXTURE_1D
|
||||
sampler2DShadow | GL_TEXTURE_2D
|
||||
samplerCubeShadow | GL_TEXTURE_CUBE_MAP
|
||||
sampler2DRectShadow | GL_TEXTURE_RECTANGLE
|
||||
sampler1DArrayShadow | GL_TEXTURE_1D_ARRAY
|
||||
sampler2DArrayShadow | GL_TEXTURE_2D_ARRAY
|
||||
samplerCubeArrayShadow | GL_TEXTURE_CUBE_MAP_ARRAY
|
||||
Reference in New Issue
Block a user