public final class FakeProgramUniform extends Object implements JCGLProgramUniformType
| Constructor and Description |
|---|
FakeProgramUniform(FakeContext in_context,
JCGLProgramShaderUsableType in_program,
int in_location,
String in_name,
JCGLType in_type,
int in_size)
Construct a uniform.
|
| Modifier and Type | Method and Description |
|---|---|
protected FakeContext |
getContext() |
int |
glName() |
boolean |
isDeleted() |
String |
name() |
JCGLProgramShaderUsableType |
program() |
protected void |
setDeleted() |
int |
size() |
JCGLType |
type() |
public FakeProgramUniform(FakeContext in_context, JCGLProgramShaderUsableType in_program, int in_location, String in_name, JCGLType in_type, int in_size)
in_context - The contextin_program - The owning programin_location - The uniform locationin_name - The uniform namein_type - The uniform typein_size - The size of the uniform in elementspublic String name()
name in interface JCGLProgramUniformTypepublic JCGLProgramShaderUsableType program()
program in interface JCGLProgramUniformTypepublic JCGLType type()
type in interface JCGLProgramUniformTypepublic int size()
size in interface JCGLProgramUniformTypepublic int glName()
glName in interface JCGLNamedTypeprotected final FakeContext getContext()
public final boolean isDeleted()
isDeleted in interface JCGLResourceUsableTypetrue iff the given resource has been deleted.protected final void setDeleted()
Copyright © 2017 <code@io7m.com> http://io7m.com