gfx ~master (2021-03-28T16:54:18Z)
Dub
Repo
GlSampler
gfx
gl3
resource
Undocumented in source.
package final
class
GlSampler :
Sampler
{
import
gfx
.
bindings
.
opengl
.
gl
:
Gl
,
GLenum
,
GLint
,
GLfloat
,
GLuint
;
;
import
gfx
.
core
.
rc
:
atomicRcCode
,
Rc
;
;
import
gfx
.
graal
.
image
:
BorderColor
,
isInt
,
SamplerInfo
;
;
import
gfx
.
graal
.
pipeline
:
CompareOp
;
;
import
gfx
.
gl3
:
GlInfo
,
GlShare
;
;
import
gfx
.
gl3
.
conv
:
toGl
,
toGlMag
,
toGlMin
;
;
this
(Device dev, GlShare share, SamplerInfo info);
void
dispose
();
Device
device
[@property getter];
void
bind
(GLuint target, GLuint unit);
}
Constructors
this
this
(Device dev, GlShare share, SamplerInfo info)
Undocumented in source.
Members
Functions
bind
void
bind
(GLuint target, GLuint unit)
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void
dispose
()
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
device
Device
device
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Inherited Members
From Sampler
device
Device
device
[@property getter]
Get the parent device
descriptor
SamplerDescriptor
descriptor
()
Get a descriptor to this resource
Meta
Source
See Implementation
gfx
gl3
resource
classes
GlBuffer
GlDeviceMemory
GlImage
GlImageView
GlSampler
enums
GlImgType