[][src]Trait glium::GlObject

pub trait GlObject {
    type Id;
    fn get_id(&self) -> Self::Id;
}

Trait for objects that are OpenGL objects.

Associated Types

type Id

The type of identifier for this object.

Loading content...

Required methods

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

Returns the id of the object.

Loading content...

Implementors

impl GlObject for AnySamplesPassedQuery[src]

type Id = c_uint

impl GlObject for PrimitivesGeneratedQuery[src]

type Id = c_uint

impl GlObject for SamplesPassedQuery[src]

type Id = c_uint

impl GlObject for TimeElapsedQuery[src]

type Id = c_uint

impl GlObject for TransformFeedbackPrimitivesWrittenQuery[src]

type Id = c_uint

impl GlObject for DepthRenderBuffer[src]

type Id = c_uint

impl GlObject for DepthStencilRenderBuffer[src]

type Id = c_uint

impl GlObject for RenderBuffer[src]

type Id = c_uint

impl GlObject for RenderBufferAny[src]

type Id = c_uint

impl GlObject for StencilRenderBuffer[src]

type Id = c_uint

impl GlObject for ComputeShader[src]

type Id = Handle

impl GlObject for Program[src]

type Id = Handle

impl GlObject for CompressedCubemap[src]

type Id = c_uint

impl GlObject for CompressedCubemapArray[src]

type Id = c_uint

impl GlObject for CompressedSrgbCubemap[src]

type Id = c_uint

impl GlObject for CompressedSrgbCubemapArray[src]

type Id = c_uint

impl GlObject for CompressedSrgbTexture1d[src]

type Id = c_uint

impl GlObject for CompressedSrgbTexture1dArray[src]

type Id = c_uint

impl GlObject for CompressedSrgbTexture2d[src]

type Id = c_uint

impl GlObject for CompressedSrgbTexture2dArray[src]

type Id = c_uint

impl GlObject for CompressedSrgbTexture3d[src]

type Id = c_uint

impl GlObject for CompressedTexture1d[src]

type Id = c_uint

impl GlObject for CompressedTexture1dArray[src]

type Id = c_uint

impl GlObject for CompressedTexture2d[src]

type Id = c_uint

impl GlObject for CompressedTexture2dArray[src]

type Id = c_uint

impl GlObject for CompressedTexture3d[src]

type Id = c_uint

impl GlObject for Cubemap[src]

type Id = c_uint

impl GlObject for CubemapArray[src]

type Id = c_uint

impl GlObject for DepthCubemap[src]

type Id = c_uint

impl GlObject for DepthCubemapArray[src]

type Id = c_uint

impl GlObject for DepthStencilCubemap[src]

type Id = c_uint

impl GlObject for DepthStencilCubemapArray[src]

type Id = c_uint

impl GlObject for DepthStencilTexture1d[src]

type Id = c_uint

impl GlObject for DepthStencilTexture1dArray[src]

type Id = c_uint

impl GlObject for DepthStencilTexture2d[src]

type Id = c_uint

impl GlObject for DepthStencilTexture2dArray[src]

type Id = c_uint

impl GlObject for DepthStencilTexture2dMultisample[src]

type Id = c_uint

impl GlObject for DepthStencilTexture2dMultisampleArray[src]

type Id = c_uint

impl GlObject for DepthStencilTexture3d[src]

type Id = c_uint

impl GlObject for DepthTexture1d[src]

type Id = c_uint

impl GlObject for DepthTexture1dArray[src]

type Id = c_uint

impl GlObject for DepthTexture2d[src]

type Id = c_uint

impl GlObject for DepthTexture2dArray[src]

type Id = c_uint

impl GlObject for DepthTexture2dMultisample[src]

type Id = c_uint

impl GlObject for DepthTexture2dMultisampleArray[src]

type Id = c_uint

impl GlObject for DepthTexture3d[src]

type Id = c_uint

impl GlObject for IntegralCubemap[src]

type Id = c_uint

impl GlObject for IntegralCubemapArray[src]

type Id = c_uint

impl GlObject for IntegralTexture1d[src]

type Id = c_uint

impl GlObject for IntegralTexture1dArray[src]

type Id = c_uint

impl GlObject for IntegralTexture2d[src]

type Id = c_uint

impl GlObject for IntegralTexture2dArray[src]

type Id = c_uint

impl GlObject for IntegralTexture2dMultisample[src]

type Id = c_uint

impl GlObject for IntegralTexture2dMultisampleArray[src]

type Id = c_uint

impl GlObject for IntegralTexture3d[src]

type Id = c_uint

impl GlObject for SrgbCubemap[src]

type Id = c_uint

impl GlObject for SrgbCubemapArray[src]

type Id = c_uint

impl GlObject for SrgbTexture1d[src]

type Id = c_uint

impl GlObject for SrgbTexture1dArray[src]

type Id = c_uint

impl GlObject for SrgbTexture2d[src]

type Id = c_uint

impl GlObject for SrgbTexture2dArray[src]

type Id = c_uint

impl GlObject for SrgbTexture2dMultisample[src]

type Id = c_uint

impl GlObject for SrgbTexture2dMultisampleArray[src]

type Id = c_uint

impl GlObject for SrgbTexture3d[src]

type Id = c_uint

impl GlObject for StencilCubemap[src]

type Id = c_uint

impl GlObject for StencilCubemapArray[src]

type Id = c_uint

impl GlObject for StencilTexture1d[src]

type Id = c_uint

impl GlObject for StencilTexture1dArray[src]

type Id = c_uint

impl GlObject for StencilTexture2d[src]

type Id = c_uint

impl GlObject for StencilTexture2dArray[src]

type Id = c_uint

impl GlObject for StencilTexture2dMultisample[src]

type Id = c_uint

impl GlObject for StencilTexture2dMultisampleArray[src]

type Id = c_uint

impl GlObject for TextureAny[src]

type Id = c_uint

impl GlObject for Texture1d[src]

type Id = c_uint

impl GlObject for Texture1dArray[src]

type Id = c_uint

impl GlObject for Texture2d[src]

type Id = c_uint

impl GlObject for Texture2dArray[src]

type Id = c_uint

impl GlObject for Texture2dMultisample[src]

type Id = c_uint

impl GlObject for Texture2dMultisampleArray[src]

type Id = c_uint

impl GlObject for Texture3d[src]

type Id = c_uint

impl GlObject for UnsignedCubemap[src]

type Id = c_uint

impl GlObject for UnsignedCubemapArray[src]

type Id = c_uint

impl GlObject for UnsignedTexture1d[src]

type Id = c_uint

impl GlObject for UnsignedTexture1dArray[src]

type Id = c_uint

impl GlObject for UnsignedTexture2d[src]

type Id = c_uint

impl GlObject for UnsignedTexture2dArray[src]

type Id = c_uint

impl GlObject for UnsignedTexture2dMultisample[src]

type Id = c_uint

impl GlObject for UnsignedTexture2dMultisampleArray[src]

type Id = c_uint

impl GlObject for UnsignedTexture3d[src]

type Id = c_uint

impl<'a> GlObject for BufferAnySlice<'a>[src]

type Id = c_uint

impl<T> GlObject for IndexBuffer<T> where
    T: Index
[src]

type Id = c_uint

impl<T> GlObject for PixelBuffer<T> where
    T: PixelValue
[src]

type Id = c_uint

impl<T: Copy> GlObject for VertexBuffer<T>[src]

type Id = c_uint

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

type Id = c_uint

impl<T: ?Sized> GlObject for Buffer<T> where
    T: Content
[src]

type Id = c_uint

Loading content...