class Prism::TextureCubeMap
- Prism::TextureCubeMap
- Prism::Texture
- Reference
- Object
Defined in:
prism/texture/texture_cube_map.crInstance Method Summary
-
#bind(sampler_slot : LibGL::Int)
Binds the texture to a sampler slot Valid slots range from 0 to 31.
Instance methods inherited from class Prism::Texture
bind(sampler_slot : LibGL::Int)
bind,
finalize
finalize,
id : UInt32
id
Constructor methods inherited from class Prism::Texture
new(id : UInt32, pool_key : String)
new
Class methods inherited from class Prism::Texture
load(file_name)
load,
load_2d(file_name : String) : Prism::Texture2D
load_2d,
load_cube_map(texture_files : StaticArray(String, 6)) : Prism::TextureCubeMap
load_cube_map,
pool
pool
Instance Method Detail
def bind(sampler_slot : LibGL::Int)
#
Binds the texture to a sampler slot Valid slots range from 0 to 31.