Top Description Fields Constructors Methods
org.lwjgl.opencl

public final Class CLSampler

extends CLObjectChild<CLContext>
Class Inheritance

This class is a wrapper around a cl_sampler pointer.
Author
Spasi

Field Summary

Modifier and TypeField and Description
private static final InfoUtil<CLSampler>

Constructor Summary

AccessConstructor and Description
pack-priv
CLSampler(final long pointer, final CLContext context)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the parameter value
getInfoInt
(int
the parameter
param_name
)

Returns the integer value of the specified parameter.

public long

Returns:

the parameter value
getInfoLong
(int
the parameter
param_name
)

Returns the long value of the specified parameter.

pack-priv int
Inherited from org.lwjgl.opencl.CLObjectChild:
getParent

Field Detail

utilback to summary
private static final InfoUtil<CLSampler> util

Constructor Detail

CLSamplerback to summary
pack-priv CLSampler(final long pointer, final CLContext context)

Method Detail

getInfoIntback to summary
public int getInfoInt(int param_name)

Returns the integer value of the specified parameter.

Parameters
param_name:int

the parameter

Returns:int

the parameter value

getInfoLongback to summary
public long getInfoLong(int param_name)

Returns the long value of the specified parameter. Can be used for both cl_ulong and cl_bitfield parameters.

Parameters
param_name:int

the parameter

Returns:long

the parameter value

releaseback to summary
pack-priv int release()

Overrides org.lwjgl.opencl.CLObjectRetainable.release.