OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::Shader::Internal Namespace Reference

Functions

constexpr uint32 MakeSamplerSlot (ShaderStage stage, uint32 index) noexcept
 
constexpr uint32 MakeUniformBlockBinding (ShaderStage stage, uint32 index) noexcept
 

Function Documentation

◆ MakeSamplerSlot()

constexpr uint32 s3d::Shader::Internal::MakeSamplerSlot ( ShaderStage  stage,
uint32  index 
)
constexprnoexcept

◆ MakeUniformBlockBinding()

constexpr uint32 s3d::Shader::Internal::MakeUniformBlockBinding ( ShaderStage  stage,
uint32  index 
)
constexprnoexcept