Tabnine Logo
JCGLType.isFloatingPointType
Code IndexAdd Tabnine to your IDE (free)

How to use
isFloatingPointType
method
in
com.io7m.jcanephora.core.JCGLType

Best Java code snippets using com.io7m.jcanephora.core.JCGLType.isFloatingPointType (Showing top 4 results out of 315)

origin: com.io7m.jcanephora/com.io7m.jcanephora.lwjgl3

private void checkIsFloatingPoint(final JCGLProgramUniformType u)
{
 if (this.check_type) {
  final JCGLType type_uniform = u.type();
  if (!type_uniform.isFloatingPointType()) {
   final StringBuilder sb = new StringBuilder(128);
   sb.append("Uniform type error.");
   sb.append(System.lineSeparator());
   sb.append("Expected: A floating point type");
   sb.append(System.lineSeparator());
   sb.append("Actual: ");
   sb.append(type_uniform);
   throw new JCGLExceptionProgramTypeError(sb.toString());
  }
 }
}
origin: com.io7m.jcanephora/io7m-jcanephora-lwjgl3

private void checkIsFloatingPoint(final JCGLProgramUniformType u)
{
 if (this.check_type) {
  final JCGLType type_uniform = u.getType();
  if (!type_uniform.isFloatingPointType()) {
   final StringBuilder sb = new StringBuilder(128);
   sb.append("Uniform type error.");
   sb.append(System.lineSeparator());
   sb.append("Expected: A floating point type");
   sb.append(System.lineSeparator());
   sb.append("Actual: ");
   sb.append(type_uniform);
   throw new JCGLExceptionProgramTypeError(sb.toString());
  }
 }
}
origin: com.io7m.jcanephora/io7m-jcanephora-fake

private void checkIsFloatingPoint(final JCGLProgramUniformType u)
{
 if (this.check_type) {
  final JCGLType type_uniform = u.getType();
  if (!type_uniform.isFloatingPointType()) {
   final StringBuilder sb = new StringBuilder(128);
   sb.append("Uniform type error.");
   sb.append(System.lineSeparator());
   sb.append("Expected: A floating point type");
   sb.append(System.lineSeparator());
   sb.append("Actual: ");
   sb.append(type_uniform);
   throw new JCGLExceptionProgramTypeError(sb.toString());
  }
 }
}
origin: com.io7m.jcanephora/com.io7m.jcanephora.fake

private void checkIsFloatingPoint(final JCGLProgramUniformType u)
{
 if (this.check_type) {
  final JCGLType type_uniform = u.type();
  if (!type_uniform.isFloatingPointType()) {
   final StringBuilder sb = new StringBuilder(128);
   sb.append("Uniform type error.");
   sb.append(System.lineSeparator());
   sb.append("Expected: A floating point type");
   sb.append(System.lineSeparator());
   sb.append("Actual: ");
   sb.append(type_uniform);
   throw new JCGLExceptionProgramTypeError(sb.toString());
  }
 }
}
com.io7m.jcanephora.coreJCGLTypeisFloatingPointType

Popular methods of JCGLType

  • getElementCount
  • equals
  • values

Popular in Java

  • Finding current android device location
  • setContentView (Activity)
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now