34 std::shared_ptr<Shader>
shader()
const {
return _shader; }
37 if (slot < _quadTextureBindings.size()) {
38 _quadTextureBindings[slot] = texture;
47 std::shared_ptr<BlendState>
blendState = std::make_shared<BlendState>();
49 std::shared_ptr<DepthState>
depthState = std::make_shared<DepthState>();
56 std::shared_ptr<Shader> _shader =
nullptr;
57 std::shared_ptr<QuadRender> _quadRender =
nullptr;
58 std::array<Texture*, 8> _quadTextureBindings{};
GPU texture resource supporting 2D, cubemap, volume, and array formats with mipmap management.