Struct Version45

Source
pub struct Version45 { /* private fields */ }

Implementations§

Source§

impl Version45

Source

pub fn new( base: impl GL_1_0, get_proc_address: impl FnMut(&'static str) -> *const c_void, ) -> Self

Source

pub fn get_available(&self) -> bool

Trait Implementations§

Source§

impl Clone for Version45

Source§

fn clone(&self) -> Version45

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Version45

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Version45

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl GL_4_5 for Version45

Source§

fn glClipControl(&self, origin: u32, depth: u32)

Source§

fn glCreateTransformFeedbacks(&self, n: i32, ids: *mut u32)

Source§

fn glTransformFeedbackBufferBase(&self, xfb: u32, index: u32, buffer: u32)

Source§

fn glTransformFeedbackBufferRange( &self, xfb: u32, index: u32, buffer: u32, offset: usize, size: usize, )

Source§

fn glGetTransformFeedbackiv(&self, xfb: u32, pname: u32, param: *mut i32)

Source§

fn glGetTransformFeedbacki_v( &self, xfb: u32, pname: u32, index: u32, param: *mut i32, )

Source§

fn glGetTransformFeedbacki64_v( &self, xfb: u32, pname: u32, index: u32, param: *mut i64, )

Source§

fn glCreateBuffers(&self, n: i32, buffers: *mut u32)

Source§

fn glNamedBufferStorage( &self, buffer: u32, size: usize, data: *const c_void, flags: u32, )

Source§

fn glNamedBufferData( &self, buffer: u32, size: usize, data: *const c_void, usage: u32, )

Source§

fn glNamedBufferSubData( &self, buffer: u32, offset: usize, size: usize, data: *const c_void, )

Source§

fn glCopyNamedBufferSubData( &self, readBuffer: u32, writeBuffer: u32, readOffset: usize, writeOffset: usize, size: usize, )

Source§

fn glClearNamedBufferData( &self, buffer: u32, internalformat: u32, format: u32, type_: u32, data: *const c_void, )

Source§

fn glClearNamedBufferSubData( &self, buffer: u32, internalformat: u32, offset: usize, size: usize, format: u32, type_: u32, data: *const c_void, )

Source§

fn glMapNamedBuffer(&self, buffer: u32, access: u32) -> *mut c_void

Source§

fn glMapNamedBufferRange( &self, buffer: u32, offset: usize, length: usize, access: u32, ) -> *mut c_void

Source§

fn glUnmapNamedBuffer(&self, buffer: u32) -> u8

Source§

fn glFlushMappedNamedBufferRange( &self, buffer: u32, offset: usize, length: usize, )

Source§

fn glGetNamedBufferParameteriv(&self, buffer: u32, pname: u32, params: *mut i32)

Source§

fn glGetNamedBufferParameteri64v( &self, buffer: u32, pname: u32, params: *mut i64, )

Source§

fn glGetNamedBufferPointerv( &self, buffer: u32, pname: u32, params: *mut *mut c_void, )

Source§

fn glGetNamedBufferSubData( &self, buffer: u32, offset: usize, size: usize, data: *mut c_void, )

Source§

fn glCreateFramebuffers(&self, n: i32, framebuffers: *mut u32)

Source§

fn glNamedFramebufferRenderbuffer( &self, framebuffer: u32, attachment: u32, renderbuffertarget: u32, renderbuffer: u32, )

Source§

fn glNamedFramebufferParameteri(&self, framebuffer: u32, pname: u32, param: i32)

Source§

fn glNamedFramebufferTexture( &self, framebuffer: u32, attachment: u32, texture: u32, level: i32, )

Source§

fn glNamedFramebufferTextureLayer( &self, framebuffer: u32, attachment: u32, texture: u32, level: i32, layer: i32, )

Source§

fn glNamedFramebufferDrawBuffer(&self, framebuffer: u32, buf: u32)

Source§

fn glNamedFramebufferDrawBuffers( &self, framebuffer: u32, n: i32, bufs: *const u32, )

Source§

fn glNamedFramebufferReadBuffer(&self, framebuffer: u32, src: u32)

Source§

fn glInvalidateNamedFramebufferData( &self, framebuffer: u32, numAttachments: i32, attachments: *const u32, )

Source§

fn glInvalidateNamedFramebufferSubData( &self, framebuffer: u32, numAttachments: i32, attachments: *const u32, x: i32, y: i32, width: i32, height: i32, )

Source§

fn glClearNamedFramebufferiv( &self, framebuffer: u32, buffer: u32, drawbuffer: i32, value: *const i32, )

Source§

fn glClearNamedFramebufferuiv( &self, framebuffer: u32, buffer: u32, drawbuffer: i32, value: *const u32, )

Source§

fn glClearNamedFramebufferfv( &self, framebuffer: u32, buffer: u32, drawbuffer: i32, value: *const f32, )

Source§

fn glClearNamedFramebufferfi( &self, framebuffer: u32, buffer: u32, drawbuffer: i32, depth: f32, stencil: i32, )

Source§

fn glBlitNamedFramebuffer( &self, readFramebuffer: u32, drawFramebuffer: u32, srcX0: i32, srcY0: i32, srcX1: i32, srcY1: i32, dstX0: i32, dstY0: i32, dstX1: i32, dstY1: i32, mask: u32, filter: u32, )

Source§

fn glCheckNamedFramebufferStatus(&self, framebuffer: u32, target: u32) -> u32

Source§

fn glGetNamedFramebufferParameteriv( &self, framebuffer: u32, pname: u32, param: *mut i32, )

Source§

fn glGetNamedFramebufferAttachmentParameteriv( &self, framebuffer: u32, attachment: u32, pname: u32, params: *mut i32, )

Source§

fn glCreateRenderbuffers(&self, n: i32, renderbuffers: *mut u32)

Source§

fn glNamedRenderbufferStorage( &self, renderbuffer: u32, internalformat: u32, width: i32, height: i32, )

Source§

fn glNamedRenderbufferStorageMultisample( &self, renderbuffer: u32, samples: i32, internalformat: u32, width: i32, height: i32, )

Source§

fn glGetNamedRenderbufferParameteriv( &self, renderbuffer: u32, pname: u32, params: *mut i32, )

Source§

fn glCreateTextures(&self, target: u32, n: i32, textures: *mut u32)

Source§

fn glTextureBuffer(&self, texture: u32, internalformat: u32, buffer: u32)

Source§

fn glTextureBufferRange( &self, texture: u32, internalformat: u32, buffer: u32, offset: usize, size: usize, )

Source§

fn glTextureStorage1D( &self, texture: u32, levels: i32, internalformat: u32, width: i32, )

Source§

fn glTextureStorage2D( &self, texture: u32, levels: i32, internalformat: u32, width: i32, height: i32, )

Source§

fn glTextureStorage3D( &self, texture: u32, levels: i32, internalformat: u32, width: i32, height: i32, depth: i32, )

Source§

fn glTextureStorage2DMultisample( &self, texture: u32, samples: i32, internalformat: u32, width: i32, height: i32, fixedsamplelocations: u8, )

Source§

fn glTextureStorage3DMultisample( &self, texture: u32, samples: i32, internalformat: u32, width: i32, height: i32, depth: i32, fixedsamplelocations: u8, )

Source§

fn glTextureSubImage1D( &self, texture: u32, level: i32, xoffset: i32, width: i32, format: u32, type_: u32, pixels: *const c_void, )

Source§

fn glTextureSubImage2D( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, pixels: *const c_void, )

Source§

fn glTextureSubImage3D( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, pixels: *const c_void, )

Source§

fn glCompressedTextureSubImage1D( &self, texture: u32, level: i32, xoffset: i32, width: i32, format: u32, imageSize: i32, data: *const c_void, )

Source§

fn glCompressedTextureSubImage2D( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, imageSize: i32, data: *const c_void, )

Source§

fn glCompressedTextureSubImage3D( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, imageSize: i32, data: *const c_void, )

Source§

fn glCopyTextureSubImage1D( &self, texture: u32, level: i32, xoffset: i32, x: i32, y: i32, width: i32, )

Source§

fn glCopyTextureSubImage2D( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, x: i32, y: i32, width: i32, height: i32, )

Source§

fn glCopyTextureSubImage3D( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, x: i32, y: i32, width: i32, height: i32, )

Source§

fn glTextureParameterf(&self, texture: u32, pname: u32, param: f32)

Source§

fn glTextureParameterfv(&self, texture: u32, pname: u32, param: *const f32)

Source§

fn glTextureParameteri(&self, texture: u32, pname: u32, param: i32)

Source§

fn glTextureParameterIiv(&self, texture: u32, pname: u32, params: *const i32)

Source§

fn glTextureParameterIuiv(&self, texture: u32, pname: u32, params: *const u32)

Source§

fn glTextureParameteriv(&self, texture: u32, pname: u32, param: *const i32)

Source§

fn glGenerateTextureMipmap(&self, texture: u32)

Source§

fn glBindTextureUnit(&self, unit: u32, texture: u32)

Source§

fn glGetTextureImage( &self, texture: u32, level: i32, format: u32, type_: u32, bufSize: i32, pixels: *mut c_void, )

Source§

fn glGetCompressedTextureImage( &self, texture: u32, level: i32, bufSize: i32, pixels: *mut c_void, )

Source§

fn glGetTextureLevelParameterfv( &self, texture: u32, level: i32, pname: u32, params: *mut f32, )

Source§

fn glGetTextureLevelParameteriv( &self, texture: u32, level: i32, pname: u32, params: *mut i32, )

Source§

fn glGetTextureParameterfv(&self, texture: u32, pname: u32, params: *mut f32)

Source§

fn glGetTextureParameterIiv(&self, texture: u32, pname: u32, params: *mut i32)

Source§

fn glGetTextureParameterIuiv(&self, texture: u32, pname: u32, params: *mut u32)

Source§

fn glGetTextureParameteriv(&self, texture: u32, pname: u32, params: *mut i32)

Source§

fn glCreateVertexArrays(&self, n: i32, arrays: *mut u32)

Source§

fn glDisableVertexArrayAttrib(&self, vaobj: u32, index: u32)

Source§

fn glEnableVertexArrayAttrib(&self, vaobj: u32, index: u32)

Source§

fn glVertexArrayElementBuffer(&self, vaobj: u32, buffer: u32)

Source§

fn glVertexArrayVertexBuffer( &self, vaobj: u32, bindingindex: u32, buffer: u32, offset: usize, stride: i32, )

Source§

fn glVertexArrayVertexBuffers( &self, vaobj: u32, first: u32, count: i32, buffers: *const u32, offsets: *const usize, strides: *const i32, )

Source§

fn glVertexArrayAttribBinding( &self, vaobj: u32, attribindex: u32, bindingindex: u32, )

Source§

fn glVertexArrayAttribFormat( &self, vaobj: u32, attribindex: u32, size: i32, type_: u32, normalized: u8, relativeoffset: u32, )

Source§

fn glVertexArrayAttribIFormat( &self, vaobj: u32, attribindex: u32, size: i32, type_: u32, relativeoffset: u32, )

Source§

fn glVertexArrayAttribLFormat( &self, vaobj: u32, attribindex: u32, size: i32, type_: u32, relativeoffset: u32, )

Source§

fn glVertexArrayBindingDivisor( &self, vaobj: u32, bindingindex: u32, divisor: u32, )

Source§

fn glGetVertexArrayiv(&self, vaobj: u32, pname: u32, param: *mut i32)

Source§

fn glGetVertexArrayIndexediv( &self, vaobj: u32, index: u32, pname: u32, param: *mut i32, )

Source§

fn glGetVertexArrayIndexed64iv( &self, vaobj: u32, index: u32, pname: u32, param: *mut i64, )

Source§

fn glCreateSamplers(&self, n: i32, samplers: *mut u32)

Source§

fn glCreateProgramPipelines(&self, n: i32, pipelines: *mut u32)

Source§

fn glCreateQueries(&self, target: u32, n: i32, ids: *mut u32)

Source§

fn glGetQueryBufferObjecti64v( &self, id: u32, buffer: u32, pname: u32, offset: usize, )

Source§

fn glGetQueryBufferObjectiv( &self, id: u32, buffer: u32, pname: u32, offset: usize, )

Source§

fn glGetQueryBufferObjectui64v( &self, id: u32, buffer: u32, pname: u32, offset: usize, )

Source§

fn glGetQueryBufferObjectuiv( &self, id: u32, buffer: u32, pname: u32, offset: usize, )

Source§

fn glMemoryBarrierByRegion(&self, barriers: u32)

Source§

fn glGetTextureSubImage( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, bufSize: i32, pixels: *mut c_void, )

Source§

fn glGetCompressedTextureSubImage( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, bufSize: i32, pixels: *mut c_void, )

Source§

fn glGetGraphicsResetStatus(&self) -> u32

Source§

fn glGetnCompressedTexImage( &self, target: u32, lod: i32, bufSize: i32, pixels: *mut c_void, )

Source§

fn glGetnTexImage( &self, target: u32, level: i32, format: u32, type_: u32, bufSize: i32, pixels: *mut c_void, )

Source§

fn glGetnUniformdv( &self, program: u32, location: i32, bufSize: i32, params: *mut f64, )

Source§

fn glGetnUniformfv( &self, program: u32, location: i32, bufSize: i32, params: *mut f32, )

Source§

fn glGetnUniformiv( &self, program: u32, location: i32, bufSize: i32, params: *mut i32, )

Source§

fn glGetnUniformuiv( &self, program: u32, location: i32, bufSize: i32, params: *mut u32, )

Source§

fn glReadnPixels( &self, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, bufSize: i32, data: *mut c_void, )

Source§

fn glGetnMapdv(&self, target: u32, query: u32, bufSize: i32, v: *mut f64)

Source§

fn glGetnMapfv(&self, target: u32, query: u32, bufSize: i32, v: *mut f32)

Source§

fn glGetnMapiv(&self, target: u32, query: u32, bufSize: i32, v: *mut i32)

Source§

fn glGetnPixelMapfv(&self, map: u32, bufSize: i32, values: *mut f32)

Source§

fn glGetnPixelMapuiv(&self, map: u32, bufSize: i32, values: *mut u32)

Source§

fn glGetnPixelMapusv(&self, map: u32, bufSize: i32, values: *mut u16)

Source§

fn glGetnPolygonStipple(&self, bufSize: i32, pattern: *mut u8)

Source§

fn glGetnColorTable( &self, target: u32, format: u32, type_: u32, bufSize: i32, table: *mut c_void, )

Source§

fn glGetnConvolutionFilter( &self, target: u32, format: u32, type_: u32, bufSize: i32, image: *mut c_void, )

Source§

fn glGetnSeparableFilter( &self, target: u32, format: u32, type_: u32, rowBufSize: i32, row: *mut c_void, columnBufSize: i32, column: *mut c_void, span: *mut c_void, )

Source§

fn glGetnHistogram( &self, target: u32, reset: u8, format: u32, type_: u32, bufSize: i32, values: *mut c_void, )

Source§

fn glGetnMinmax( &self, target: u32, reset: u8, format: u32, type_: u32, bufSize: i32, values: *mut c_void, )

Source§

fn glTextureBarrier(&self)

Source§

impl Hash for Version45

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Version45

Source§

fn eq(&self, other: &Version45) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Version45

Source§

impl Eq for Version45

Source§

impl StructuralPartialEq for Version45

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.