input
stringlengths 10
828
| output
stringlengths 5
107
|
|---|---|
public float get tex coord bottom return tc b
|
return the texture coord that represents the bottom edge within the
|
public void set scale float scale if scale 0f throw new illegal argument exception text scale cannot be negative scale this scale scale layout text
|
set the scale factor that scales the vertices of each quad within the
|
public onscreen surface options set width int width return new onscreen surface options depth aa stencil undecorated resizable x y width height full mode
|
set the requested initial width of the surface when its windowed
|
public onscreen surface options set height int height return new onscreen surface options depth aa stencil undecorated resizable x y width height full mode
|
set the requested initial height of the surface when its windowed
|
public onscreen surface options set x int x return new onscreen surface options depth aa stencil undecorated resizable x y width height full mode
|
set the requested initial x coordinate of the surface when its windowed
|
public onscreen surface options set y int y return new onscreen surface options depth aa stencil undecorated resizable x y width height full mode
|
set the requested initial y coordinate of the surface when its windowed
|
public onscreen surface options set depth format depth format depth return new onscreen surface options depth aa stencil undecorated resizable x y width height full mode
|
set the requested depth format of the surface
|
public onscreen surface options set stencil format stencil format stencil return new onscreen surface options depth aa stencil undecorated resizable x y width height full mode
|
set the requested stencil format of the surface
|
public onscreen surface options set anti alias mode anti alias mode aa return new onscreen surface options depth aa stencil undecorated resizable x y width height full mode
|
set the requested anti alias mode of the surface
|
public onscreen surface options set undecorated boolean undecorated return new onscreen surface options depth aa stencil undecorated resizable x y width height full mode
|
set the whether or not the surface is undecorated when its windowed
|
public onscreen surface options set resizable boolean resizable return new onscreen surface options depth aa stencil undecorated resizable x y width height full mode
|
set the whether or not the surface is user resizable when its windowed
|
public onscreen surface options set fullscreen mode display mode full mode return new onscreen surface options depth aa stencil undecorated resizable x y width height full mode
|
set the requested display mode for the surface
|
public void on surface deactivate open glcontext context reset the renderers so that the next task sees a clean slate and any locked resources get released render capabilities caps context get render capabilities fixed function renderer ffp context get renderer provider get fixed function renderer caps if ffp null ffp reset glsl renderer glsl context get renderer provider get glsl renderer caps if glsl null glsl reset
|
on surface deactivate is a listener method that is invoked by
|
public reentrant lock get lock return lock
|
return the lock that guards this surfaces context
|
public boolean is context thread return thread current thread instanceof context thread
|
return whether or not the current thread is a thread managed by this
|
public lock get lock return lock read lock
|
return the lock to hold that will prevent the lifecycle from
|
public void force release abstract surface surface if surface null throw new null pointer exception surface cannot be null thread current thread current thread if current instanceof context thread delegate to the thread implementation context thread current unlock surface else must only call on the context thread throw new illegal state exception cannot call unlock on this thread
|
unlock the given surface from the current thread
|
public thread group get managed thread group return managed thread group
|
return the thread group that all managed threads must be part of
|
public void activate abstract surface surface open glcontext context resource manager resource manager this context context this resource manager resource manager view surface width surface get width view surface height surface get height
|
notify the renderer that the provided surface has been activated and will
|
public void unlock lock token token if token null throw new null pointer exception lock token cannot be null if token full lock locks get remove token unlock token if it s still in the locks list or if it s a lock that wants to break all of the rules token unlock
|
unlock the resource that had previously been locked by the given
|
public event queue get event queue return event queue
|
return an event queue that can be shared by all onscreen surfaces created
|
public resource handle get resource handle return data handle
|
return the resource handle associated with the resource that is locked
|
public void activate abstract surface active open glcontext context resource manager resource manager delegate activate active context resource manager this context context this resource manager resource manager
|
notify the renderer that the provided surface has been activated and will
|
public void set status status status this status status null status disposed status
|
set the status of this resource handle
|
public void set status message string message status message message null message
|
set the status message for this resource handle
|
public int get max texture surface size return max renderbuffer size
|
return the maximum dimension of any texture used with a texture surface
|
public int get max color buffers return max color targets
|
return the maximum number of color buffers that can be rendered into
|
public int get max fragment shader textures return max fragment shader textures
|
get the max number of textures allowed in the fragment shader of glsl
|
public int get max fixed pipeline textures return max fixed pipeline textures
|
get the max number of textures usable by a
|
public int get max combined textures return max combined textures
|
get the max number of textures used by an entire glsl program
|
public float get max anisotropic level return max aniso level
|
get the max supported level of anisotropic filtering for textures
|
public boolean get unclamped float texture support return fp textures
|
whether or not unclamped floating point textures are supported
|
public boolean get npot texture support return npot textures
|
whether or not non power of two dimensions are supported for textures
|
public boolean get s3 texture compression return s3tc textures
|
whether or not the s3 tc extension is present
|
public int get max vertex attributes return max vertex attributes
|
get the maximum vertex attributes allowed on each vertex rendered
|
public int get max texture coordinates return max texture coordinates
|
get the maximum number of texture coordinates for each vertex
|
public boolean get vertex buffer support return vbo supported
|
whether or not vertex buffers are supported
|
public texture surface options set target target texture target return new texture surface options texture target color target formats width height depth use depth texture active layer active depth plane
|
set the requested target that defines which dimensions and the number of
|
public texture surface options set color buffer formats texture format formats texture format copy formats null null arrays copy of formats formats length return new texture surface options texture target copy width height depth use depth texture active layer active depth plane
|
set the requested number of color buffers and the texture formats for each
|
public boolean has glsl renderer return has glsl renderer
|
whether or not this framework can provide renderers that implement
|
public boolean has fixed function renderer return has ffp renderer
|
whether or not this framework can provide renderers that implement
|
public boolean get fbo support return fbo supported
|
whether or not offscreen surfaces can be implemented using frame buffer
|
public texture surface options set use depth texture boolean use depth texture return new texture surface options texture target color target formats width height depth use depth texture active layer active depth plane
|
set whether or not the created texture surface will have a texture that
|
public boolean get pbuffer support return pbuffers supported
|
whether or not pbuffers different than pixel buffers are supported for
|
public texture surface options set active layer int active layer return new texture surface options texture target color target formats width height depth use depth texture active layer active depth plane
|
set the initial layer that will be rendered into if the default
|
public version get glsl version return glsl version
|
get the glsl shading language available on the computer
|
public pixel format get pixel format return pixel format
|
get the pixel format supported by this display mode
|
public boolean is object space return tangent vectors null
|
return whether or not the normal vectors are in object space or tangent
|
public float get cutoff angle return cutoff angle
|
return the cutoff angle in degrees representing the maximum angle light
|
public int set cutoff angle float angle if angle 0 angle 90 throw new illegal argument exception illegal cutoff angle must be in 0 90 not angle cutoff angle angle return notify change
|
set the cutoff angle for this spot light
|
public int set direction read only vector3f dir if dir null throw new null pointer exception direction vector cannot be null dir normalize direction return notify change
|
set the direction of this light
|
public read only vector3f get direction return direction
|
get the normalized direction vector for this light
|
public int set shininess float shiny if shiny 0f throw new illegal argument exception shininess must be positive not shiny shininess shiny return notify change
|
set the shininess exponent to use with this material
|
public int set rotation read only matrix3f m affine transform get rotation set m return notify change
|
copy the given rotation matrix into this transforms upper 3x3 matrix
|
public int set matrix read only matrix4f m affine transform set m return notify change
|
copy the given transform matrix into this transforms matrix
|
public affine transform get matrix return affine transform
|
return the matrix that stores the actual world transform
|
public int set vertices vertex attribute vertices if vertices null throw new null pointer exception vertices cannot be null if vertices get data get data get data type data type float throw new illegal argument exception vertices must have a datatype of float if vertices get element size 1 throw new illegal argument exception vertices can only have an element size of 2 3 or 4 this vertices vertices return notify change
|
set the vertex attribute that holds the vertex position information for
|
public int set array indices polygon type type int first int count return set indices null type first count
|
convenience function to set the indices of this renderable to null
|
public vertex buffer object get indices return indices
|
return the indices used access the vertices of the renderable and any
|
public void set light component light if light null throw new null pointer exception light cannot be null shadow light light
|
set the light component that represents the shadow casting light
|
public void set frustum frustum f if f null throw new null pointer exception frustum cannot be null frustum f
|
set the frustum that stores the shadow mapping projection to use
|
public axis aligned box get local bounds fixme update signature when we have read only aabb s return local bounds
|
return the local bounds of the renderable
|
public void add rendered entity entity e render entities add e
|
add the given entity to the list of entities which should be rendered
|
public int set local bounds axis aligned box bounds local bounds set bounds return notify change
|
set the local bounds of this renderable
|
public void add fog fog fog throw new unsupported operation exception
|
add the given fog to the scene
|
public void set view view node vn view frustum vn get frustum view left vn get left view right vn get right view bottom vn get bottom view top vn get top
|
set the view frustum and viewport dimensions that will be used when
|
public int set draw style draw style front draw style back if front null back null throw new null pointer exception draw styles cannot be null front style front back style back return notify change
|
set both front and back draw styles for this renderable
|
public int set draw style front draw style front if front null throw new null pointer exception draw style cannot be null front style front return notify change
|
set the draw style used when rendering front facing polygons of this
|
public void reset view frustum null shadow frustum null shadow light null shadow bounds null render entities clear true shadow entities clear true lights clear true light bounds clear true
|
reset all internal datastructures so that this render connection
|
public int set draw style back draw style back if back null throw new null pointer exception draw style cannot be null back style back return notify change
|
set the draw style used when rendering back facing polygons of this
|
public int set opacity float opacity if opacity 0f opacity 1f throw new illegal argument exception opacity must be in 0 1 not opacity this opacity opacity return notify change
|
set the opacity of this transparent component
|
public int set falloff falloff falloff if falloff null throw new null pointer exception falloff cannot be null this falloff falloff return notify change
|
set the falloff to use for this fog
|
public falloff get falloff return falloff
|
return the falloff equation to use that determines how an objects color
|
public int set opaque distance float dist if dist 0f throw new illegal argument exception distance must be positive not dist distance to opaque dist return notify change
|
set the maximum distance that light can travel through the fog before
|
public float get opaque distance return distance to opaque
|
return the distance from the viewer required for an object to be
|
protected void render geometry entity atom get the shape shape shape atom get s id geometry geom shape null default geom shape get geometry determine complete model view scene element se atom get se id if se null model view set view else view mul se get transform model view render with correct transform renderer set model view matrix model view renderer render geom restore the view renderer set model view matrix view
|
utility function to render the
|
public int set color color3f color if color null throw new null pointer exception color cannot be null this color set color return notify change
|
copy tt color tt into this fogs color instance
|
public boolean is visible frustum f if f null throw new null pointer exception frustum cannot be null return visibility contains key f
|
return true if this entity has been flagged as visible to the
|
public int set visible frustum f boolean pv if f null throw new null pointer exception frustum cannot be null if pv visibility put f value else visibility remove f return notify change
|
set whether or not this entity is considered visible to the frustum
|
public int set surface surface surface this surface surface return notify change
|
set the surface that this camera is linked to
|
public void destroy synchronized lock if destroyed return destroyed true destroy impl
|
destroy the controller which lets it clean up any cached resources it
|
public component get primary component return main component
|
get the primary component of this component event
|
public component get auxiliary component return aux component
|
get the auxiliary component of this component event
|
public component container get owner return owner get
|
get the current component container that owns this component
|
public int notify change component container owner this owner get return owner null owner notify change id get id 1
|
notify this components owner of a change that should update the owners
|
public int get version typed id extends component id if id null throw new null pointer exception typed id cannot be null int index id get id atomic integer array v versions return index v length v get index 0
|
return an integer representing this component containers version for the
|
public void shutdown submit lock write lock lock try service shutdown finally submit lock write lock unlock
|
shutdown this controller executor so that it will no longer execute any
|
public entity system get entity system return owner
|
get the owning entity system of this entity
|
private component remove int index component expected synchronized lock component old null component components this components if index components length expected null components index expected old components index if old null int new len index components length 1 index components length components arrays copy of this components new len components index null old set unowned this must increment version if a component is removed notify change index this components components return old
|
internal method to remove the component of the given type
|
protected void on remove component removed do nothing in base class
|
called within the lock after a component has been removed
|
protected void on add component added component old do nothing in base class
|
called within the lock after a component has been added
|
public void bind array vbo gl2 gl3 gl int vbo initialized maybe if vbo array vbo array vbo vbo gl gl bind buffer gl2 gl3 gl array buffer vbo
|
bind the given vbo to the array buffer target
|
public void bind element vbo gl2 gl3 gl int vbo initialized maybe if vbo element vbo element vbo vbo gl gl bind buffer gl2 gl3 gl element array buffer vbo
|
bind the given vbo to the array buffer target
|
public void set active texture gl2 gl3 gl int tex initialized maybe if active texture tex active texture tex gl gl active texture gl2 gl3 gl texture0 tex
|
set the active texture
|
public void bind texture gl2 gl3 gl int target int tex id initialized maybe int prev target bound targets active texture int prev tex textures active texture if prev tex tex id if prev tex 0 prev target target unbind old texture gl gl bind texture prev target 0 gl gl bind texture target tex id bound targets active texture target textures active texture tex id
|
bind a texture image to the current active texture
|
public void bind fbo gl2 gl3 gl int fbo id initialized maybe if fbo fbo id fbo fbo id gl gl bind framebuffer gl2 gl3 gl framebuffer fbo id
|
bind the given framebuffer object
|
public void set num applied margins int num if num 0 throw new illegal argument exception number of applied margins must be at least 0 not num applied margins num
|
set the number of times the minkowski difference will apply each
|
public gjk get gjk return gjk
|
return the gjk instance used to construct this epa instance
|
public minkowski difference get minkowski difference return function
|
return the minkowski difference used to build this gjks simplex
|
public closest pair get closest pair simplex simplex read only vector3f zero normal read only vector3f pa trans a get col 3 get as vector3f read only vector3f pb trans b get col 3 get as vector3f vector3f ma get closest point a simplex vector3f mb get closest point b simplex return construct pair ma mb pa pb zero normal
|
build a closest pair from the given simplex and this minkowski difference
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.