glium

Trait GlObject

source
pub trait GlObject {
    type Id;

    // Required method
    fn get_id(&self) -> Self::Id;
}
Expand description

Trait for objects that are OpenGL objects.

Required Associated Types§

source

type Id

The type of identifier for this object.

Required Methods§

source

fn get_id(&self) -> Self::Id

Returns the id of the object.

Implementors§

source§

impl GlObject for AnySamplesPassedQuery

source§

impl GlObject for PrimitivesGeneratedQuery

source§

impl GlObject for SamplesPassedQuery

source§

impl GlObject for TimeElapsedQuery

source§

impl GlObject for TransformFeedbackPrimitivesWrittenQuery

source§

impl GlObject for DepthRenderBuffer

source§

impl GlObject for DepthStencilRenderBuffer

source§

impl GlObject for RenderBuffer

source§

impl GlObject for RenderBufferAny

source§

impl GlObject for StencilRenderBuffer

source§

impl GlObject for MemoryObject

source§

impl GlObject for ComputeShader

source§

impl GlObject for Program

source§

impl GlObject for Semaphore

source§

impl GlObject for CompressedCubemap

source§

impl GlObject for CompressedCubemapArray

source§

impl GlObject for CompressedSrgbCubemap

source§

impl GlObject for CompressedSrgbCubemapArray

source§

impl GlObject for CompressedSrgbTexture1d

source§

impl GlObject for CompressedSrgbTexture1dArray

source§

impl GlObject for CompressedSrgbTexture2d

source§

impl GlObject for CompressedSrgbTexture2dArray

source§

impl GlObject for CompressedSrgbTexture3d

source§

impl GlObject for CompressedTexture1d

source§

impl GlObject for CompressedTexture1dArray

source§

impl GlObject for CompressedTexture2d

source§

impl GlObject for CompressedTexture2dArray

source§

impl GlObject for CompressedTexture3d

source§

impl GlObject for Cubemap

source§

impl GlObject for CubemapArray

source§

impl GlObject for DepthCubemap

source§

impl GlObject for DepthCubemapArray

source§

impl GlObject for DepthStencilCubemap

source§

impl GlObject for DepthStencilCubemapArray

source§

impl GlObject for DepthStencilTexture1d

source§

impl GlObject for DepthStencilTexture1dArray

source§

impl GlObject for DepthStencilTexture2d

source§

impl GlObject for DepthStencilTexture2dArray

source§

impl GlObject for DepthStencilTexture2dMultisample

source§

impl GlObject for DepthStencilTexture2dMultisampleArray

source§

impl GlObject for DepthStencilTexture3d

source§

impl GlObject for DepthTexture1d

source§

impl GlObject for DepthTexture1dArray

source§

impl GlObject for DepthTexture2d

source§

impl GlObject for DepthTexture2dArray

source§

impl GlObject for DepthTexture2dMultisample

source§

impl GlObject for DepthTexture2dMultisampleArray

source§

impl GlObject for DepthTexture3d

source§

impl GlObject for IntegralCubemap

source§

impl GlObject for IntegralCubemapArray

source§

impl GlObject for IntegralTexture1d

source§

impl GlObject for IntegralTexture1dArray

source§

impl GlObject for IntegralTexture2d

source§

impl GlObject for IntegralTexture2dArray

source§

impl GlObject for IntegralTexture2dMultisample

source§

impl GlObject for IntegralTexture2dMultisampleArray

source§

impl GlObject for IntegralTexture3d

source§

impl GlObject for SrgbCubemap

source§

impl GlObject for SrgbCubemapArray

source§

impl GlObject for SrgbTexture1d

source§

impl GlObject for SrgbTexture1dArray

source§

impl GlObject for SrgbTexture2d

source§

impl GlObject for SrgbTexture2dArray

source§

impl GlObject for SrgbTexture2dMultisample

source§

impl GlObject for SrgbTexture2dMultisampleArray

source§

impl GlObject for SrgbTexture3d

source§

impl GlObject for StencilCubemap

source§

impl GlObject for StencilCubemapArray

source§

impl GlObject for StencilTexture1d

source§

impl GlObject for StencilTexture1dArray

source§

impl GlObject for StencilTexture2d

source§

impl GlObject for StencilTexture2dArray

source§

impl GlObject for StencilTexture2dMultisample

source§

impl GlObject for StencilTexture2dMultisampleArray

source§

impl GlObject for TextureAny

source§

impl GlObject for Texture1d

source§

impl GlObject for Texture1dArray

source§

impl GlObject for Texture2d

source§

impl GlObject for Texture2dArray

source§

impl GlObject for Texture2dMultisample

source§

impl GlObject for Texture2dMultisampleArray

source§

impl GlObject for Texture3d

source§

impl GlObject for UnsignedCubemap

source§

impl GlObject for UnsignedCubemapArray

source§

impl GlObject for UnsignedTexture1d

source§

impl GlObject for UnsignedTexture1dArray

source§

impl GlObject for UnsignedTexture2d

source§

impl GlObject for UnsignedTexture2dArray

source§

impl GlObject for UnsignedTexture2dMultisample

source§

impl GlObject for UnsignedTexture2dMultisampleArray

source§

impl GlObject for UnsignedTexture3d

source§

impl<'a> GlObject for BufferAnySlice<'a>

source§

impl<T> GlObject for Buffer<T>
where T: Content + ?Sized,

source§

impl<T> GlObject for IndexBuffer<T>
where T: Index,

source§

impl<T> GlObject for PixelBuffer<T>
where T: PixelValue,

source§

impl<T: Copy> GlObject for VertexBuffer<T>

source§

impl<T: ?Sized + Content> GlObject for UniformBuffer<T>