Trait glium::GlObject
[−]
[src]
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.
Required Methods
Implementors
impl<T: ?Sized> GlObject for Buffer<T> where
T: Content, type Id = c_uint;impl<'a> GlObject for BufferAnySlice<'a> type Id = c_uint;
impl GlObject for SamplesPassedQuery type Id = c_uint;
impl GlObject for TimeElapsedQuery type Id = c_uint;
impl GlObject for AnySamplesPassedQuery type Id = c_uint;
impl GlObject for PrimitivesGeneratedQuery type Id = c_uint;
impl GlObject for TransformFeedbackPrimitivesWrittenQuery type Id = c_uint;
impl GlObject for RenderBuffer type Id = c_uint;
impl GlObject for DepthRenderBuffer type Id = c_uint;
impl GlObject for StencilRenderBuffer type Id = c_uint;
impl GlObject for DepthStencilRenderBuffer type Id = c_uint;
impl GlObject for RenderBufferAny type Id = c_uint;
impl<T> GlObject for IndexBuffer<T> where
T: Index, type Id = c_uint;impl GlObject for ComputeShader type Id = Handle;
impl GlObject for Program type Id = Handle;
impl<T: ?Sized + Content> GlObject for UniformBuffer<T> type Id = c_uint;
impl<T: Copy> GlObject for VertexBuffer<T> type Id = c_uint;
impl<T> GlObject for PixelBuffer<T> where
T: PixelValue, type Id = c_uint;impl GlObject for TextureAny type Id = c_uint;
impl GlObject for Texture1d type Id = c_uint;
impl GlObject for CompressedTexture1d type Id = c_uint;
impl GlObject for SrgbTexture1d type Id = c_uint;
impl GlObject for CompressedSrgbTexture1d type Id = c_uint;
impl GlObject for IntegralTexture1d type Id = c_uint;
impl GlObject for UnsignedTexture1d type Id = c_uint;
impl GlObject for DepthTexture1d type Id = c_uint;
impl GlObject for StencilTexture1d type Id = c_uint;
impl GlObject for DepthStencilTexture1d type Id = c_uint;
impl GlObject for Texture2d type Id = c_uint;
impl GlObject for CompressedTexture2d type Id = c_uint;
impl GlObject for SrgbTexture2d type Id = c_uint;
impl GlObject for CompressedSrgbTexture2d type Id = c_uint;
impl GlObject for IntegralTexture2d type Id = c_uint;
impl GlObject for UnsignedTexture2d type Id = c_uint;
impl GlObject for DepthTexture2d type Id = c_uint;
impl GlObject for StencilTexture2d type Id = c_uint;
impl GlObject for DepthStencilTexture2d type Id = c_uint;
impl GlObject for Texture2dMultisample type Id = c_uint;
impl GlObject for IntegralTexture2dMultisample type Id = c_uint;
impl GlObject for SrgbTexture2dMultisample type Id = c_uint;
impl GlObject for UnsignedTexture2dMultisample type Id = c_uint;
impl GlObject for DepthTexture2dMultisample type Id = c_uint;
impl GlObject for StencilTexture2dMultisample type Id = c_uint;
impl GlObject for DepthStencilTexture2dMultisample type Id = c_uint;
impl GlObject for Texture3d type Id = c_uint;
impl GlObject for CompressedTexture3d type Id = c_uint;
impl GlObject for SrgbTexture3d type Id = c_uint;
impl GlObject for CompressedSrgbTexture3d type Id = c_uint;
impl GlObject for IntegralTexture3d type Id = c_uint;
impl GlObject for UnsignedTexture3d type Id = c_uint;
impl GlObject for DepthTexture3d type Id = c_uint;
impl GlObject for DepthStencilTexture3d type Id = c_uint;
impl GlObject for Texture1dArray type Id = c_uint;
impl GlObject for CompressedTexture1dArray type Id = c_uint;
impl GlObject for SrgbTexture1dArray type Id = c_uint;
impl GlObject for CompressedSrgbTexture1dArray type Id = c_uint;
impl GlObject for IntegralTexture1dArray type Id = c_uint;
impl GlObject for UnsignedTexture1dArray type Id = c_uint;
impl GlObject for DepthTexture1dArray type Id = c_uint;
impl GlObject for StencilTexture1dArray type Id = c_uint;
impl GlObject for DepthStencilTexture1dArray type Id = c_uint;
impl GlObject for Texture2dArray type Id = c_uint;
impl GlObject for CompressedTexture2dArray type Id = c_uint;
impl GlObject for SrgbTexture2dArray type Id = c_uint;
impl GlObject for CompressedSrgbTexture2dArray type Id = c_uint;
impl GlObject for IntegralTexture2dArray type Id = c_uint;
impl GlObject for UnsignedTexture2dArray type Id = c_uint;
impl GlObject for DepthTexture2dArray type Id = c_uint;
impl GlObject for StencilTexture2dArray type Id = c_uint;
impl GlObject for DepthStencilTexture2dArray type Id = c_uint;
impl GlObject for Texture2dMultisampleArray type Id = c_uint;
impl GlObject for SrgbTexture2dMultisampleArray type Id = c_uint;
impl GlObject for IntegralTexture2dMultisampleArray type Id = c_uint;
impl GlObject for UnsignedTexture2dMultisampleArray type Id = c_uint;
impl GlObject for DepthTexture2dMultisampleArray type Id = c_uint;
impl GlObject for StencilTexture2dMultisampleArray type Id = c_uint;
impl GlObject for DepthStencilTexture2dMultisampleArray type Id = c_uint;
impl GlObject for Cubemap type Id = c_uint;
impl GlObject for CompressedCubemap type Id = c_uint;
impl GlObject for SrgbCubemap type Id = c_uint;
impl GlObject for CompressedSrgbCubemap type Id = c_uint;
impl GlObject for IntegralCubemap type Id = c_uint;
impl GlObject for UnsignedCubemap type Id = c_uint;
impl GlObject for DepthCubemap type Id = c_uint;
impl GlObject for StencilCubemap type Id = c_uint;
impl GlObject for DepthStencilCubemap type Id = c_uint;
impl GlObject for CubemapArray type Id = c_uint;
impl GlObject for CompressedCubemapArray type Id = c_uint;
impl GlObject for SrgbCubemapArray type Id = c_uint;
impl GlObject for CompressedSrgbCubemapArray type Id = c_uint;
impl GlObject for IntegralCubemapArray type Id = c_uint;
impl GlObject for UnsignedCubemapArray type Id = c_uint;
impl GlObject for DepthCubemapArray type Id = c_uint;
impl GlObject for StencilCubemapArray type Id = c_uint;
impl GlObject for DepthStencilCubemapArray type Id = c_uint;